pub struct ToolkitConnectionState {
pub slug: String,
pub name: String,
pub is_no_auth: bool,
pub connection: Option<ToolkitConnection>,
pub logo: Option<String>,
}Expand description
Connection state of a toolkit in a Tool Router session
Provides detailed information about a toolkit’s availability, authentication status, and connection details.
Fields§
§slug: StringToolkit slug (e.g., “github”, “gmail”)
name: StringHuman-readable toolkit name
is_no_auth: boolWhether this toolkit requires no authentication
connection: Option<ToolkitConnection>Connection information (None for no-auth toolkits)
logo: Option<String>Toolkit logo URL
Trait Implementations§
Source§impl Clone for ToolkitConnectionState
impl Clone for ToolkitConnectionState
Source§fn clone(&self) -> ToolkitConnectionState
fn clone(&self) -> ToolkitConnectionState
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 ToolkitConnectionState
impl Debug for ToolkitConnectionState
Source§impl<'de> Deserialize<'de> for ToolkitConnectionState
impl<'de> Deserialize<'de> for ToolkitConnectionState
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 ToolkitConnectionState
impl RefUnwindSafe for ToolkitConnectionState
impl Send for ToolkitConnectionState
impl Sync for ToolkitConnectionState
impl Unpin for ToolkitConnectionState
impl UnsafeUnpin for ToolkitConnectionState
impl UnwindSafe for ToolkitConnectionState
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