Struct onedrive_api::resource::OAuth2ErrorResponse [−][src]
#[non_exhaustive]pub struct OAuth2ErrorResponse { pub error: String, pub error_description: String, pub error_codes: Option<Vec<u32>>, pub timestamp: Option<String>, pub trace_id: Option<String>, pub correlation_id: Option<String>, }
OAuth2 error response.
This struct is independent with ErrorResponse from storage API.
It can only be contained in onedrive_api::Error returned by operations
about OAuth2 (methods of Auth).
See also
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.error: Stringerror_description: Stringerror_codes: Option<Vec<u32>>timestamp: Option<String>trace_id: Option<String>correlation_id: Option<String>Trait Implementations
impl<'de> Deserialize<'de> for OAuth2ErrorResponse[src]
impl<'de> Deserialize<'de> for OAuth2ErrorResponse[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for OAuth2ErrorResponse
impl RefUnwindSafe for OAuth2ErrorResponseimpl Send for OAuth2ErrorResponse
impl Send for OAuth2ErrorResponseimpl Sync for OAuth2ErrorResponse
impl Sync for OAuth2ErrorResponseimpl Unpin for OAuth2ErrorResponse
impl Unpin for OAuth2ErrorResponseimpl UnwindSafe for OAuth2ErrorResponse
impl UnwindSafe for OAuth2ErrorResponseBlanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]impl<T> Instrument for T[src]
impl<T> Instrument for T[src]