pub enum RosterUpdate {
Added {
slot: RosterSlot,
name: String,
identity: String,
},
Reloaded {
slot: RosterSlot,
},
Dropped {
slot: RosterSlot,
},
Promoted {
from: RosterSlot,
},
Swapped {
first: RosterSlot,
second: RosterSlot,
},
Rejected {
action: String,
detail: String,
},
}Variants§
Added
Reloaded
Fields
§
slot: RosterSlotDropped
Fields
§
slot: RosterSlotPromoted
Fields
§
from: RosterSlotSwapped
Rejected
Trait Implementations§
Source§impl Clone for RosterUpdate
impl Clone for RosterUpdate
Source§fn clone(&self) -> RosterUpdate
fn clone(&self) -> RosterUpdate
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 RosterUpdate
impl Debug for RosterUpdate
Source§impl<'de> Deserialize<'de> for RosterUpdate
impl<'de> Deserialize<'de> for RosterUpdate
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 RosterUpdate
Source§impl PartialEq for RosterUpdate
impl PartialEq for RosterUpdate
Source§impl Serialize for RosterUpdate
impl Serialize for RosterUpdate
impl StructuralPartialEq for RosterUpdate
Auto Trait Implementations§
impl Freeze for RosterUpdate
impl RefUnwindSafe for RosterUpdate
impl Send for RosterUpdate
impl Sync for RosterUpdate
impl Unpin for RosterUpdate
impl UnsafeUnpin for RosterUpdate
impl UnwindSafe for RosterUpdate
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