pub enum ManageConnectionsConfig {
Bool(bool),
Detailed {
enabled: bool,
enable_wait_for_connections: Option<bool>,
},
}Expand description
Configuration for connection management
Controls whether the agent automatically prompts users with Connect Links during chat when authentication is needed (in-chat authentication).
§Variants
Bool(bool)- Simple boolean flag (true = enabled, false = disabled)Detailed- Detailed configuration with additional options
§Example
use composio_sdk::models::ManageConnectionsConfig;
// Simple boolean
let simple = ManageConnectionsConfig::Bool(true);
// Detailed configuration
let detailed = ManageConnectionsConfig::Detailed {
enabled: true,
enable_wait_for_connections: Some(true),
};Variants§
Trait Implementations§
Source§impl Clone for ManageConnectionsConfig
impl Clone for ManageConnectionsConfig
Source§fn clone(&self) -> ManageConnectionsConfig
fn clone(&self) -> ManageConnectionsConfig
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 ManageConnectionsConfig
impl Debug for ManageConnectionsConfig
Source§impl<'de> Deserialize<'de> for ManageConnectionsConfig
impl<'de> Deserialize<'de> for ManageConnectionsConfig
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 ManageConnectionsConfig
impl RefUnwindSafe for ManageConnectionsConfig
impl Send for ManageConnectionsConfig
impl Sync for ManageConnectionsConfig
impl Unpin for ManageConnectionsConfig
impl UnsafeUnpin for ManageConnectionsConfig
impl UnwindSafe for ManageConnectionsConfig
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