Type Alias paystack::PaystackResult

source ·
pub type PaystackResult<T> = Result<T, Error>;
Expand description

Custom result type for the Paystack API

Aliased Type§

enum PaystackResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value