pub struct ClientMessageWorkflowNodeStarted {
pub phone_number: Option<ClientMessageWorkflowNodeStartedPhoneNumber>,
pub type: TypeTrue,
pub timestamp: Option<f64>,
pub call: Option<Call>,
pub customer: Option<CreateCustomerDto>,
pub assistant: Option<CreateAssistantDto>,
pub node: Value,
}
Fields§
§phone_number: Option<ClientMessageWorkflowNodeStartedPhoneNumber>
§type: TypeTrue
This is the type of the message. "workflow.node.started" is sent when the active node changes.
timestamp: Option<f64>
This is the timestamp of the message.
call: Option<Call>
This is the call that the message is associated with.
customer: Option<CreateCustomerDto>
This is the customer that the message is associated with.
assistant: Option<CreateAssistantDto>
This is the assistant that the message is associated with.
node: Value
This is the active node.
Implementations§
Source§impl ClientMessageWorkflowNodeStarted
impl ClientMessageWorkflowNodeStarted
pub fn new(type: TypeTrue, node: Value) -> ClientMessageWorkflowNodeStarted
Trait Implementations§
Source§impl Clone for ClientMessageWorkflowNodeStarted
impl Clone for ClientMessageWorkflowNodeStarted
Source§fn clone(&self) -> ClientMessageWorkflowNodeStarted
fn clone(&self) -> ClientMessageWorkflowNodeStarted
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ClientMessageWorkflowNodeStarted
impl Default for ClientMessageWorkflowNodeStarted
Source§fn default() -> ClientMessageWorkflowNodeStarted
fn default() -> ClientMessageWorkflowNodeStarted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientMessageWorkflowNodeStarted
impl<'de> Deserialize<'de> for ClientMessageWorkflowNodeStarted
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 ClientMessageWorkflowNodeStarted
impl PartialEq for ClientMessageWorkflowNodeStarted
Source§fn eq(&self, other: &ClientMessageWorkflowNodeStarted) -> bool
fn eq(&self, other: &ClientMessageWorkflowNodeStarted) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ClientMessageWorkflowNodeStarted
Auto Trait Implementations§
impl Freeze for ClientMessageWorkflowNodeStarted
impl RefUnwindSafe for ClientMessageWorkflowNodeStarted
impl Send for ClientMessageWorkflowNodeStarted
impl Sync for ClientMessageWorkflowNodeStarted
impl Unpin for ClientMessageWorkflowNodeStarted
impl UnwindSafe for ClientMessageWorkflowNodeStarted
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