pub struct TestProviderOAuthResponse {
pub error: Option<String>,
pub ok: bool,
pub status: f64,
}Expand description
TestProviderOAuthResponse
JSON schema
{
"type": "object",
"required": [
"ok",
"status"
],
"properties": {
"error": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"status": {
"type": "number"
}
}
}Fields§
§error: Option<String>§ok: bool§status: f64Implementations§
Source§impl TestProviderOAuthResponse
impl TestProviderOAuthResponse
pub fn builder() -> TestProviderOAuthResponse
Trait Implementations§
Source§impl Clone for TestProviderOAuthResponse
impl Clone for TestProviderOAuthResponse
Source§fn clone(&self) -> TestProviderOAuthResponse
fn clone(&self) -> TestProviderOAuthResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TestProviderOAuthResponse
impl Debug for TestProviderOAuthResponse
Source§impl<'de> Deserialize<'de> for TestProviderOAuthResponse
impl<'de> Deserialize<'de> for TestProviderOAuthResponse
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<&TestProviderOAuthResponse> for TestProviderOAuthResponse
impl From<&TestProviderOAuthResponse> for TestProviderOAuthResponse
Source§fn from(value: &TestProviderOAuthResponse) -> Self
fn from(value: &TestProviderOAuthResponse) -> Self
Converts to this type from the input type.
Source§impl From<TestProviderOAuthResponse> for TestProviderOAuthResponse
impl From<TestProviderOAuthResponse> for TestProviderOAuthResponse
Source§fn from(value: TestProviderOAuthResponse) -> Self
fn from(value: TestProviderOAuthResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<TestProviderOAuthResponse> for TestProviderOAuthResponse
impl TryFrom<TestProviderOAuthResponse> for TestProviderOAuthResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TestProviderOAuthResponse) -> Result<Self, ConversionError>
fn try_from(value: TestProviderOAuthResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TestProviderOAuthResponse
impl RefUnwindSafe for TestProviderOAuthResponse
impl Send for TestProviderOAuthResponse
impl Sync for TestProviderOAuthResponse
impl Unpin for TestProviderOAuthResponse
impl UnsafeUnpin for TestProviderOAuthResponse
impl UnwindSafe for TestProviderOAuthResponse
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