pub struct ExternalConnection {
pub id: ExternalConnectionId,
pub owner_id: UserId,
pub provider: String,
pub provider_subject: String,
pub display_email: Option<String>,
pub encrypted_refresh_token: Vec<u8>,
pub granted_scopes: Vec<String>,
pub status: ExternalConnectionStatus,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub revoked_at: Option<DateTime<Utc>>,
}Fields§
§id: ExternalConnectionId§owner_id: UserId§provider: String§provider_subject: String§display_email: Option<String>§encrypted_refresh_token: Vec<u8>Never include ciphertext in serialized API responses.
granted_scopes: Vec<String>§status: ExternalConnectionStatus§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§revoked_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for ExternalConnection
impl Clone for ExternalConnection
Source§impl Debug for ExternalConnection
impl Debug for ExternalConnection
Source§impl<'de> Deserialize<'de> for ExternalConnection
impl<'de> Deserialize<'de> for ExternalConnection
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
impl Eq for ExternalConnection
Source§impl PartialEq for ExternalConnection
impl PartialEq for ExternalConnection
Source§impl Serialize for ExternalConnection
impl Serialize for ExternalConnection
impl StructuralPartialEq for ExternalConnection
Auto Trait Implementations§
impl Freeze for ExternalConnection
impl RefUnwindSafe for ExternalConnection
impl Send for ExternalConnection
impl Sync for ExternalConnection
impl Unpin for ExternalConnection
impl UnsafeUnpin for ExternalConnection
impl UnwindSafe for ExternalConnection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.