pub struct APIValidationError {
pub message: Option<String>,
pub url: Option<String>,
}Fields§
§message: Option<String>§url: Option<String>Trait Implementations§
Source§impl Clone for APIValidationError
impl Clone for APIValidationError
Source§fn clone(&self) -> APIValidationError
fn clone(&self) -> APIValidationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for APIValidationError
impl Debug for APIValidationError
Source§impl<'de> Deserialize<'de> for APIValidationError
impl<'de> Deserialize<'de> for APIValidationError
Source§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
Source§impl From<APIValidationError> for ApiError
impl From<APIValidationError> for ApiError
Source§fn from(value: APIValidationError) -> Self
fn from(value: APIValidationError) -> Self
Converts to this type from the input type.
Source§impl FromResponse for APIValidationError
impl FromResponse for APIValidationError
fn from_response( response: ApiResponse, has_body: bool, ) -> Result<Self, StructureError>
Source§impl PartialEq for APIValidationError
impl PartialEq for APIValidationError
Source§impl Serialize for APIValidationError
impl Serialize for APIValidationError
impl StructuralPartialEq for APIValidationError
Auto Trait Implementations§
impl Freeze for APIValidationError
impl RefUnwindSafe for APIValidationError
impl Send for APIValidationError
impl Sync for APIValidationError
impl Unpin for APIValidationError
impl UnwindSafe for APIValidationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more