pub struct OAuthUnlinkRequestBody {
pub provider: OAuthProviderId,
pub subject: String,
}Expand description
The request body for unlinking an OAuth account.
JSON schema
{
"title": "OAuthUnlinkRequestBody",
"description": "The request body for unlinking an OAuth account.",
"type": "object",
"required": [
"provider",
"subject"
],
"properties": {
"provider": {
"$ref": "#/components/schemas/OAuthProviderID"
},
"subject": {
"type": "string"
}
}
}Fields§
§provider: OAuthProviderId§subject: StringTrait Implementations§
Source§impl Clone for OAuthUnlinkRequestBody
impl Clone for OAuthUnlinkRequestBody
Source§fn clone(&self) -> OAuthUnlinkRequestBody
fn clone(&self) -> OAuthUnlinkRequestBody
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 OAuthUnlinkRequestBody
impl Debug for OAuthUnlinkRequestBody
Source§impl<'de> Deserialize<'de> for OAuthUnlinkRequestBody
impl<'de> Deserialize<'de> for OAuthUnlinkRequestBody
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<&OAuthUnlinkRequestBody> for OAuthUnlinkRequestBody
impl From<&OAuthUnlinkRequestBody> for OAuthUnlinkRequestBody
Source§fn from(value: &OAuthUnlinkRequestBody) -> Self
fn from(value: &OAuthUnlinkRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OAuthUnlinkRequestBody
impl RefUnwindSafe for OAuthUnlinkRequestBody
impl Send for OAuthUnlinkRequestBody
impl Sync for OAuthUnlinkRequestBody
impl Unpin for OAuthUnlinkRequestBody
impl UnsafeUnpin for OAuthUnlinkRequestBody
impl UnwindSafe for OAuthUnlinkRequestBody
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