pub struct ConnView {
pub account: Option<String>,
pub connected_at: Option<String>,
pub expires_at: Option<String>,
pub external_id: Option<String>,
pub id: Option<String>,
pub label: Option<String>,
pub provider: Option<String>,
pub scopes: Option<Vec<String>>,
}Fields§
§account: Option<String>Account is the provider’s label for the connected account.
connected_at: Option<String>ConnectedAt is when the connector was last (re)established, RFC 3339 UTC.
expires_at: Option<String>ExpiresAt is when the access token expires, RFC 3339 UTC; empty for a non-expiring credential. Reading the token auto-rotates inside the window.
external_id: Option<String>ExternalID is the provider’s own id for that account.
id: Option<String>ID is provider + ":" + label — what every other connector route addresses.
label: Option<String>Label is the caller’s name for this connection ("default", "work").
provider: Option<String>Provider is the user-scoped provider’s registry id.
scopes: Option<Vec<String>>Scopes are the permissions the credential carries. Never null; [] when none.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ConnView
impl<'de> Deserialize<'de> for ConnView
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 StructuralPartialEq for ConnView
Auto Trait Implementations§
impl Freeze for ConnView
impl RefUnwindSafe for ConnView
impl Send for ConnView
impl Sync for ConnView
impl Unpin for ConnView
impl UnsafeUnpin for ConnView
impl UnwindSafe for ConnView
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