Struct paypal_rs::errors::PaypalError [−][src]
pub struct PaypalError { pub name: String, pub message: Option<String>, pub debug_id: Option<String>, pub details: Vec<HashMap<String, String>>, pub error: Option<String>, pub error_description: Option<String>, pub links: Vec<LinkDescription>, }
Expand description
A paypal api response error.
Fields
name: String
The error name.
message: Option<String>
The error message.
debug_id: Option<String>
Paypal debug id
details: Vec<HashMap<String, String>>
Error details
error: Option<String>
Only available on Identity errors
error_description: Option<String>
Only available on Identity errors
links: Vec<LinkDescription>
Links with more information about the error.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PaypalError
impl Send for PaypalError
impl Sync for PaypalError
impl Unpin for PaypalError
impl UnwindSafe for PaypalError