relevancy

Type Alias ApiResult

source
pub type ApiResult<T> = Result<T, RelevancyApiError>;
Expand description

Result enum for the public API

Aliased Type§

enum ApiResult<T> {
    Ok(T),
    Err(RelevancyApiError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(RelevancyApiError)

Contains the error value