pub struct UpdateSquadDto {
pub name: Option<String>,
pub members: Vec<SquadMemberDto>,
pub members_overrides: Option<AssistantOverrides>,
}
Fields§
§name: Option<String>
This is the name of the squad.
members: Vec<SquadMemberDto>
This is the list of assistants that make up the squad. The call will start with the first assistant in the list.
members_overrides: Option<AssistantOverrides>
This can be used to override all the assistants’ settings and provide values for their template variables. Both membersOverrides
and members[n].assistantOverrides
can be used together. First, members[n].assistantOverrides
is applied. Then, membersOverrides
is applied as a global override.
Implementations§
Source§impl UpdateSquadDto
impl UpdateSquadDto
pub fn new(members: Vec<SquadMemberDto>) -> UpdateSquadDto
Trait Implementations§
Source§impl Clone for UpdateSquadDto
impl Clone for UpdateSquadDto
Source§fn clone(&self) -> UpdateSquadDto
fn clone(&self) -> UpdateSquadDto
Returns a duplicate 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 UpdateSquadDto
impl Debug for UpdateSquadDto
Source§impl Default for UpdateSquadDto
impl Default for UpdateSquadDto
Source§fn default() -> UpdateSquadDto
fn default() -> UpdateSquadDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSquadDto
impl<'de> Deserialize<'de> for UpdateSquadDto
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 UpdateSquadDto
impl PartialEq for UpdateSquadDto
Source§impl Serialize for UpdateSquadDto
impl Serialize for UpdateSquadDto
impl StructuralPartialEq for UpdateSquadDto
Auto Trait Implementations§
impl Freeze for UpdateSquadDto
impl RefUnwindSafe for UpdateSquadDto
impl Send for UpdateSquadDto
impl Sync for UpdateSquadDto
impl Unpin for UpdateSquadDto
impl UnwindSafe for UpdateSquadDto
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