pub struct TransferDestinationStep {
pub message: Option<Box<TransferDestinationAssistantMessage>>,
pub type: Type,
pub step_name: String,
pub description: Option<String>,
}Fields§
§message: Option<Box<TransferDestinationAssistantMessage>>§type: Type§step_name: StringThis is the step to transfer to.
description: Option<String>This is the description of the destination, used by the AI to choose when and how to transfer the call.
Implementations§
Source§impl TransferDestinationStep
impl TransferDestinationStep
pub fn new(type: Type, step_name: String) -> TransferDestinationStep
Trait Implementations§
Source§impl Clone for TransferDestinationStep
impl Clone for TransferDestinationStep
Source§fn clone(&self) -> TransferDestinationStep
fn clone(&self) -> TransferDestinationStep
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 TransferDestinationStep
impl Debug for TransferDestinationStep
Source§impl Default for TransferDestinationStep
impl Default for TransferDestinationStep
Source§fn default() -> TransferDestinationStep
fn default() -> TransferDestinationStep
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransferDestinationStep
impl<'de> Deserialize<'de> for TransferDestinationStep
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 TransferDestinationStep
impl PartialEq for TransferDestinationStep
Source§impl Serialize for TransferDestinationStep
impl Serialize for TransferDestinationStep
impl StructuralPartialEq for TransferDestinationStep
Auto Trait Implementations§
impl Freeze for TransferDestinationStep
impl RefUnwindSafe for TransferDestinationStep
impl Send for TransferDestinationStep
impl Sync for TransferDestinationStep
impl Unpin for TransferDestinationStep
impl UnwindSafe for TransferDestinationStep
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