pub struct ClientMessageTransferUpdate {
pub phone_number: Option<ClientMessageWorkflowNodeStartedPhoneNumber>,
pub type: TypeTrue,
pub destination: Option<ClientMessageTransferUpdateDestination>,
pub timestamp: Option<f64>,
pub call: Option<Call>,
pub customer: Option<CreateCustomerDto>,
pub assistant: Option<CreateAssistantDto>,
pub to_assistant: Option<CreateAssistantDto>,
pub from_assistant: Option<CreateAssistantDto>,
pub to_step_record: Option<Value>,
pub from_step_record: Option<Value>,
}
Fields§
§phone_number: Option<ClientMessageWorkflowNodeStartedPhoneNumber>
§type: TypeTrue
This is the type of the message. "transfer-update" is sent whenever a transfer happens.
destination: Option<ClientMessageTransferUpdateDestination>
§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.
to_assistant: Option<CreateAssistantDto>
This is the assistant that the call is being transferred to. This is only sent if destination.type
is "assistant".
from_assistant: Option<CreateAssistantDto>
This is the assistant that the call is being transferred from. This is only sent if destination.type
is "assistant".
to_step_record: Option<Value>
This is the step that the conversation moved to.
from_step_record: Option<Value>
This is the step that the conversation moved from. =
Implementations§
Source§impl ClientMessageTransferUpdate
impl ClientMessageTransferUpdate
pub fn new(type: TypeTrue) -> ClientMessageTransferUpdate
Trait Implementations§
Source§impl Clone for ClientMessageTransferUpdate
impl Clone for ClientMessageTransferUpdate
Source§fn clone(&self) -> ClientMessageTransferUpdate
fn clone(&self) -> ClientMessageTransferUpdate
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 Debug for ClientMessageTransferUpdate
impl Debug for ClientMessageTransferUpdate
Source§impl Default for ClientMessageTransferUpdate
impl Default for ClientMessageTransferUpdate
Source§fn default() -> ClientMessageTransferUpdate
fn default() -> ClientMessageTransferUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientMessageTransferUpdate
impl<'de> Deserialize<'de> for ClientMessageTransferUpdate
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
impl StructuralPartialEq for ClientMessageTransferUpdate
Auto Trait Implementations§
impl Freeze for ClientMessageTransferUpdate
impl RefUnwindSafe for ClientMessageTransferUpdate
impl Send for ClientMessageTransferUpdate
impl Sync for ClientMessageTransferUpdate
impl Unpin for ClientMessageTransferUpdate
impl UnwindSafe for ClientMessageTransferUpdate
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