pub struct ChatkitWorkflow {
pub id: String,
pub version: Option<String>,
pub state_variables: Option<HashMap<String, Value>>,
pub tracing: ChatkitWorkflowTracing,
}Expand description
Workflow metadata and state returned for the session.
Fields§
§id: StringIdentifier of the workflow backing the session.
version: Option<String>Specific workflow version used for the session. Defaults to null when using the latest deployment.
state_variables: Option<HashMap<String, Value>>State variable key-value pairs applied when invoking the workflow. Defaults to null when no overrides were provided.
tracing: ChatkitWorkflowTracingTracing settings applied to the workflow.
Trait Implementations§
Source§impl Clone for ChatkitWorkflow
impl Clone for ChatkitWorkflow
Source§fn clone(&self) -> ChatkitWorkflow
fn clone(&self) -> ChatkitWorkflow
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 ChatkitWorkflow
impl Debug for ChatkitWorkflow
Source§impl<'de> Deserialize<'de> for ChatkitWorkflow
impl<'de> Deserialize<'de> for ChatkitWorkflow
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 ChatkitWorkflow
impl PartialEq for ChatkitWorkflow
Source§impl Serialize for ChatkitWorkflow
impl Serialize for ChatkitWorkflow
impl StructuralPartialEq for ChatkitWorkflow
Auto Trait Implementations§
impl Freeze for ChatkitWorkflow
impl RefUnwindSafe for ChatkitWorkflow
impl Send for ChatkitWorkflow
impl Sync for ChatkitWorkflow
impl Unpin for ChatkitWorkflow
impl UnwindSafe for ChatkitWorkflow
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