pub struct SquadMemberDto {
pub assistant_id: Option<Option<String>>,
pub assistant: Option<CreateAssistantDto>,
pub assistant_overrides: Option<AssistantOverrides>,
pub assistant_destinations: Option<Vec<TransferDestinationAssistant>>,
}Fields§
§assistant_id: Option<Option<String>>This is the assistant that will be used for the call. To use a transient assistant, use assistant instead.
assistant: Option<CreateAssistantDto>This is the assistant that will be used for the call. To use an existing assistant, use assistantId instead.
assistant_overrides: Option<AssistantOverrides>This can be used to override the assistant’s settings and provide values for it’s template variables.
assistant_destinations: Option<Vec<TransferDestinationAssistant>>These are the others assistants that this assistant can transfer to. If the assistant already has transfer call tool, these destinations are just appended to existing ones.
Implementations§
Source§impl SquadMemberDto
impl SquadMemberDto
pub fn new() -> SquadMemberDto
Trait Implementations§
Source§impl Clone for SquadMemberDto
impl Clone for SquadMemberDto
Source§fn clone(&self) -> SquadMemberDto
fn clone(&self) -> SquadMemberDto
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 SquadMemberDto
impl Debug for SquadMemberDto
Source§impl Default for SquadMemberDto
impl Default for SquadMemberDto
Source§fn default() -> SquadMemberDto
fn default() -> SquadMemberDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SquadMemberDto
impl<'de> Deserialize<'de> for SquadMemberDto
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 SquadMemberDto
impl PartialEq for SquadMemberDto
Source§impl Serialize for SquadMemberDto
impl Serialize for SquadMemberDto
impl StructuralPartialEq for SquadMemberDto
Auto Trait Implementations§
impl Freeze for SquadMemberDto
impl RefUnwindSafe for SquadMemberDto
impl Send for SquadMemberDto
impl Sync for SquadMemberDto
impl Unpin for SquadMemberDto
impl UnwindSafe for SquadMemberDto
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