pub struct OAuthConnection {
pub id: i64,
pub service: String,
pub auth_type: String,
pub username: Option<String>,
pub account_id: Option<String>,
pub scopes: String,
pub token_expires_at: Option<String>,
pub created_at: String,
pub updated_at: String,
}Expand description
An OAuth connection to an external service.
Fields§
§id: i64§service: String§auth_type: String§username: Option<String>§account_id: Option<String>Stable remote account identifier proven through an authenticated identity endpoint. Mandate execution binds to this value rather than a mutable provider alias or display name.
scopes: String§token_expires_at: Option<String>§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for OAuthConnection
impl Clone for OAuthConnection
Source§impl Debug for OAuthConnection
impl Debug for OAuthConnection
Source§impl<'de> Deserialize<'de> for OAuthConnection
impl<'de> Deserialize<'de> for OAuthConnection
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
Auto Trait Implementations§
impl Forget for OAuthConnection
impl Freeze for OAuthConnection
impl Move for OAuthConnection
impl RefUnwindSafe for OAuthConnection
impl Send for OAuthConnectionwhere
RawVecInner: Send,
impl Sync for OAuthConnectionwhere
RawVecInner: Sync,
impl Unpin for OAuthConnection
impl UnsafeUnpin for OAuthConnection
impl UnwindSafe for OAuthConnectionwhere
RawVecInner: UnwindSafe,
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