#[non_exhaustive]pub struct AgentListenSettings {
pub provider: AgentListenProvider,
}Expand description
agent.listen block — wraps a single provider configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.provider: AgentListenProviderSTT provider.
Implementations§
Source§impl AgentListenSettings
impl AgentListenSettings
Sourcepub fn new(provider: AgentListenProvider) -> Self
pub fn new(provider: AgentListenProvider) -> Self
Construct with the given provider.
Trait Implementations§
Source§impl Clone for AgentListenSettings
impl Clone for AgentListenSettings
Source§impl Debug for AgentListenSettings
impl Debug for AgentListenSettings
Source§impl<'de> Deserialize<'de> for AgentListenSettings
impl<'de> Deserialize<'de> for AgentListenSettings
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 AgentListenSettings
impl PartialEq for AgentListenSettings
Source§impl Serialize for AgentListenSettings
impl Serialize for AgentListenSettings
impl StructuralPartialEq for AgentListenSettings
Auto Trait Implementations§
impl Freeze for AgentListenSettings
impl RefUnwindSafe for AgentListenSettings
impl Send for AgentListenSettings
impl Sync for AgentListenSettings
impl Unpin for AgentListenSettings
impl UnsafeUnpin for AgentListenSettings
impl UnwindSafe for AgentListenSettings
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