pub struct OAuthConnectionResponse {
pub account_email: String,
pub account_id: String,
pub id: i64,
pub oauth_name: String,
}Expand description
OAuth connection details.
JSON schema
{
"title": "OAuthConnectionResponse",
"description": "OAuth connection details.",
"type": "object",
"required": [
"account_email",
"account_id",
"id",
"oauth_name"
],
"properties": {
"account_email": {
"title": "Account Email",
"description": "Email associated with OAuth account",
"type": "string"
},
"account_id": {
"title": "Account Id",
"description": "OAuth provider account ID",
"type": "string"
},
"id": {
"title": "Id",
"type": "integer"
},
"oauth_name": {
"title": "Oauth Name",
"description": "OAuth provider name (github, gitlab, bitbucket, google)",
"type": "string"
}
}
}Fields§
§account_email: StringEmail associated with OAuth account
account_id: StringOAuth provider account ID
id: i64§oauth_name: StringOAuth provider name (github, gitlab, bitbucket, google)
Implementations§
Source§impl OAuthConnectionResponse
impl OAuthConnectionResponse
pub fn builder() -> OAuthConnectionResponse
Trait Implementations§
Source§impl Clone for OAuthConnectionResponse
impl Clone for OAuthConnectionResponse
Source§fn clone(&self) -> OAuthConnectionResponse
fn clone(&self) -> OAuthConnectionResponse
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 OAuthConnectionResponse
impl Debug for OAuthConnectionResponse
Source§impl<'de> Deserialize<'de> for OAuthConnectionResponse
impl<'de> Deserialize<'de> for OAuthConnectionResponse
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<&OAuthConnectionResponse> for OAuthConnectionResponse
impl From<&OAuthConnectionResponse> for OAuthConnectionResponse
Source§fn from(value: &OAuthConnectionResponse) -> Self
fn from(value: &OAuthConnectionResponse) -> Self
Converts to this type from the input type.
Source§impl From<OAuthConnectionResponse> for OAuthConnectionResponse
impl From<OAuthConnectionResponse> for OAuthConnectionResponse
Source§fn from(value: OAuthConnectionResponse) -> Self
fn from(value: OAuthConnectionResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for OAuthConnectionResponse
impl Serialize for OAuthConnectionResponse
Source§impl TryFrom<OAuthConnectionResponse> for OAuthConnectionResponse
impl TryFrom<OAuthConnectionResponse> for OAuthConnectionResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OAuthConnectionResponse) -> Result<Self, ConversionError>
fn try_from(value: OAuthConnectionResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OAuthConnectionResponse
impl RefUnwindSafe for OAuthConnectionResponse
impl Send for OAuthConnectionResponse
impl Sync for OAuthConnectionResponse
impl Unpin for OAuthConnectionResponse
impl UnwindSafe for OAuthConnectionResponse
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