[][src]Struct csml_interpreter::data::csml_bot::CsmlBot

pub struct CsmlBot {
    pub id: String,
    pub name: String,
    pub fn_endpoint: Option<String>,
    pub flows: Vec<CsmlFlow>,
    pub native_components: Option<Map<String, Value>>,
    pub custom_components: Option<Value>,
    pub default_flow: String,
}

Fields

id: Stringname: Stringfn_endpoint: Option<String>flows: Vec<CsmlFlow>native_components: Option<Map<String, Value>>custom_components: Option<Value>default_flow: String

Implementations

impl CsmlBot[src]

pub fn new(
    id: &str,
    name: &str,
    fn_endpoint: Option<String>,
    flows: Vec<CsmlFlow>,
    native_components: Option<Map<String, Value>>,
    custom_components: Option<Value>,
    default_flow: &str
) -> Self
[src]

impl CsmlBot[src]

pub fn get_flow(&self, name: &str) -> Result<String, Vec<ErrorInfo>>[src]

Trait Implementations

impl Clone for CsmlBot[src]

impl Debug for CsmlBot[src]

impl<'de> Deserialize<'de> for CsmlBot[src]

impl Serialize for CsmlBot[src]

Auto Trait Implementations

impl RefUnwindSafe for CsmlBot

impl Send for CsmlBot

impl Sync for CsmlBot

impl Unpin for CsmlBot

impl UnwindSafe for CsmlBot

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,