Struct paypal_rust::client::error::ValidationError
source · [−]pub struct ValidationError {
pub name: String,
pub message: String,
pub debug_id: String,
pub details: Vec<ErrorDetails>,
pub links: Vec<LinkDescription>,
}
Fields
name: String
message: String
debug_id: String
details: Vec<ErrorDetails>
links: Vec<LinkDescription>
Trait Implementations
sourceimpl Debug for ValidationError
impl Debug for ValidationError
sourceimpl<'de> Deserialize<'de> for ValidationError
impl<'de> Deserialize<'de> for ValidationError
sourcefn 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
sourceimpl Display for ValidationError
impl Display for ValidationError
sourceimpl Error for ValidationError
impl Error for ValidationError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<ValidationError> for PayPalError
impl From<ValidationError> for PayPalError
sourcefn from(error: ValidationError) -> Self
fn from(error: ValidationError) -> Self
Converts to this type from the input type.
sourceimpl Serialize for ValidationError
impl Serialize for ValidationError
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more