pub struct ClientMessageTransferUpdate {
pub type: Type,
pub destination: Option<Box<ClientMessageTransferUpdateDestination>>,
pub to_assistant: Option<Box<CreateAssistantDto>>,
pub from_assistant: Option<Box<CreateAssistantDto>>,
pub to_step_record: Option<Value>,
pub from_step_record: Option<Value>,
}Fields§
§type: TypeThis is the type of the message. "transfer-update" is sent whenever a transfer happens.
destination: Option<Box<ClientMessageTransferUpdateDestination>>§to_assistant: Option<Box<CreateAssistantDto>>This is the assistant that the call is being transferred to. This is only sent if destination.type is "assistant".
from_assistant: Option<Box<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: Type) -> ClientMessageTransferUpdate
Trait Implementations§
Source§impl Clone for ClientMessageTransferUpdate
impl Clone for ClientMessageTransferUpdate
Source§fn clone(&self) -> ClientMessageTransferUpdate
fn clone(&self) -> ClientMessageTransferUpdate
Returns a copy 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 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