pub struct RosterSlot {
pub agent: String,
pub model: Option<String>,
}Expand description
One persisted roster position. Slots are independent: the same agent may occupy several positions and each position may select a different model.
Fields§
§agent: String§model: Option<String>Trait Implementations§
Source§impl Clone for RosterSlot
impl Clone for RosterSlot
Source§fn clone(&self) -> RosterSlot
fn clone(&self) -> RosterSlot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RosterSlot
impl Debug for RosterSlot
Source§impl<'de> Deserialize<'de> for RosterSlot
impl<'de> Deserialize<'de> for RosterSlot
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 Eq for RosterSlot
Source§impl PartialEq for RosterSlot
impl PartialEq for RosterSlot
Source§impl Serialize for RosterSlot
impl Serialize for RosterSlot
impl StructuralPartialEq for RosterSlot
Auto Trait Implementations§
impl Freeze for RosterSlot
impl RefUnwindSafe for RosterSlot
impl Send for RosterSlot
impl Sync for RosterSlot
impl Unpin for RosterSlot
impl UnsafeUnpin for RosterSlot
impl UnwindSafe for RosterSlot
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