pub struct Bot {Show 16 fields
pub id: usize,
pub confidence_threshold: Option<f64>,
pub user_id: u64,
pub name: String,
pub description: String,
pub intents: HashMap<String, Vec<String>>,
pub flows: HashMap<String, Value>,
pub model_name: String,
pub evaluation_metrics: Option<EvaluationMetrics>,
pub industry: String,
pub language: String,
pub visible_on_community: bool,
pub webhook_url: String,
pub webhook_trigger_intents: Vec<String>,
pub created_at: String,
pub updated_at: String,
}
Fields§
§id: usize
§confidence_threshold: Option<f64>
§user_id: u64
§name: String
§description: String
§intents: HashMap<String, Vec<String>>
§flows: HashMap<String, Value>
§model_name: String
§evaluation_metrics: Option<EvaluationMetrics>
§industry: String
§language: String
§visible_on_community: bool
§webhook_url: String
§webhook_trigger_intents: Vec<String>
§created_at: String
§updated_at: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Bot
impl<'de> Deserialize<'de> for Bot
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 RefUnwindSafe for Bot
impl Send for Bot
impl Sync for Bot
impl Unpin for Bot
impl UnwindSafe for Bot
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