pub struct AgentChannelConfig {
pub bot_token: Option<String>,
pub webhook_url: Option<String>,
pub extra: HashMap<String, String>,
}Expand description
Channel configuration for a dynamic agent.
Fields§
§bot_token: Option<String>§webhook_url: Option<String>§extra: HashMap<String, String>Trait Implementations§
Source§impl Clone for AgentChannelConfig
impl Clone for AgentChannelConfig
Source§fn clone(&self) -> AgentChannelConfig
fn clone(&self) -> AgentChannelConfig
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 AgentChannelConfig
impl Debug for AgentChannelConfig
Source§impl<'de> Deserialize<'de> for AgentChannelConfig
impl<'de> Deserialize<'de> for AgentChannelConfig
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 AgentChannelConfig
impl RefUnwindSafe for AgentChannelConfig
impl Send for AgentChannelConfig
impl Sync for AgentChannelConfig
impl Unpin for AgentChannelConfig
impl UnsafeUnpin for AgentChannelConfig
impl UnwindSafe for AgentChannelConfig
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