pub struct ChatKitWorkflow {
pub id: String,
pub state_variables: Option<HashMap<String, Value>>,
pub tracing: Tracing,
pub version: Option<String>,
}Expand description
Workflow metadata and state returned for the session.
Fields§
§id: StringIdentifier of the workflow backing the session.
state_variables: Option<HashMap<String, Value>>State variable key-value pairs applied when invoking the workflow.
tracing: TracingTracing settings applied to the workflow.
version: Option<String>Specific workflow version used for the session.
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 (const: unstable) · 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
Auto Trait Implementations§
impl Freeze for ChatKitWorkflow
impl RefUnwindSafe for ChatKitWorkflow
impl Send for ChatKitWorkflow
impl Sync for ChatKitWorkflow
impl Unpin for ChatKitWorkflow
impl UnsafeUnpin 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