pub struct ToolkitConnection {
pub is_active: bool,
pub auth_config: Option<ToolkitConnectionAuthConfig>,
pub connected_account: Option<ToolkitConnectedAccount>,
}Expand description
Connection information for a toolkit
Fields§
§is_active: boolWhether the connection is active
auth_config: Option<ToolkitConnectionAuthConfig>Auth config information (None for no-auth toolkits)
connected_account: Option<ToolkitConnectedAccount>Connected account information (None if not connected)
Trait Implementations§
Source§impl Clone for ToolkitConnection
impl Clone for ToolkitConnection
Source§fn clone(&self) -> ToolkitConnection
fn clone(&self) -> ToolkitConnection
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 ToolkitConnection
impl Debug for ToolkitConnection
Source§impl<'de> Deserialize<'de> for ToolkitConnection
impl<'de> Deserialize<'de> for ToolkitConnection
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 Freeze for ToolkitConnection
impl RefUnwindSafe for ToolkitConnection
impl Send for ToolkitConnection
impl Sync for ToolkitConnection
impl Unpin for ToolkitConnection
impl UnsafeUnpin for ToolkitConnection
impl UnwindSafe for ToolkitConnection
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