pub struct ConnectionView {
pub account: Option<String>,
pub connected_at: Option<String>,
pub external_id: Option<String>,
pub scopes: Option<Vec<String>>,
}Fields§
§account: Option<String>Account is the human label of the connected third-party account (the Slack team name, the GitHub org login). Provider-supplied and sanitized on ingest.
connected_at: Option<String>ConnectedAt is when the connection was last (re)established, RFC 3339 UTC.
external_id: Option<String>ExternalID is the provider’s own id for the account (Slack team.id, GitHub installation_id) — the value inbound webhooks are mapped back to this org by.
scopes: Option<Vec<String>>Scopes are the permissions the provider granted. Never null; [] when none.
Implementations§
Source§impl ConnectionView
impl ConnectionView
pub fn new() -> ConnectionView
Trait Implementations§
Source§impl Clone for ConnectionView
impl Clone for ConnectionView
Source§fn clone(&self) -> ConnectionView
fn clone(&self) -> ConnectionView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConnectionView
impl Debug for ConnectionView
Source§impl Default for ConnectionView
impl Default for ConnectionView
Source§fn default() -> ConnectionView
fn default() -> ConnectionView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectionView
impl<'de> Deserialize<'de> for ConnectionView
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 PartialEq for ConnectionView
impl PartialEq for ConnectionView
Source§impl Serialize for ConnectionView
impl Serialize for ConnectionView
impl StructuralPartialEq for ConnectionView
Auto Trait Implementations§
impl Freeze for ConnectionView
impl RefUnwindSafe for ConnectionView
impl Send for ConnectionView
impl Sync for ConnectionView
impl Unpin for ConnectionView
impl UnsafeUnpin for ConnectionView
impl UnwindSafe for ConnectionView
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