pub struct TriggerInteractionConfig {Show 13 fields
pub id: String,
pub name: String,
pub kind: TriggerKind,
pub description: Option<String>,
pub path: Option<String>,
pub method: Option<String>,
pub auth: Option<String>,
pub default_prompt: Option<String>,
pub cron: Option<String>,
pub timezone: Option<String>,
pub event_source: Option<String>,
pub event_type: Option<String>,
pub filter: Option<String>,
}Expand description
Describes a non-chat trigger so the console can show how the deployed agent is activated.
Fields§
§id: String§name: String§kind: TriggerKind§description: Option<String>§path: Option<String>§method: Option<String>§auth: Option<String>§default_prompt: Option<String>§cron: Option<String>§timezone: Option<String>§event_source: Option<String>§event_type: Option<String>§filter: Option<String>Trait Implementations§
Source§impl Clone for TriggerInteractionConfig
impl Clone for TriggerInteractionConfig
Source§fn clone(&self) -> TriggerInteractionConfig
fn clone(&self) -> TriggerInteractionConfig
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 TriggerInteractionConfig
impl Debug for TriggerInteractionConfig
Source§impl<'de> Deserialize<'de> for TriggerInteractionConfig
impl<'de> Deserialize<'de> for TriggerInteractionConfig
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 TriggerInteractionConfig
impl PartialEq for TriggerInteractionConfig
Source§impl Serialize for TriggerInteractionConfig
impl Serialize for TriggerInteractionConfig
impl Eq for TriggerInteractionConfig
impl StructuralPartialEq for TriggerInteractionConfig
Auto Trait Implementations§
impl Freeze for TriggerInteractionConfig
impl RefUnwindSafe for TriggerInteractionConfig
impl Send for TriggerInteractionConfig
impl Sync for TriggerInteractionConfig
impl Unpin for TriggerInteractionConfig
impl UnsafeUnpin for TriggerInteractionConfig
impl UnwindSafe for TriggerInteractionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.