pub struct UpdatePlayerListSpec {
pub typ: u8,
pub players: Vec<String>,
}
Fields§
§typ: u8
§players: Vec<String>
Trait Implementations§
Source§impl Clone for UpdatePlayerListSpec
impl Clone for UpdatePlayerListSpec
Source§fn clone(&self) -> UpdatePlayerListSpec
fn clone(&self) -> UpdatePlayerListSpec
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 UpdatePlayerListSpec
impl Debug for UpdatePlayerListSpec
Source§impl Deserialize for UpdatePlayerListSpec
impl Deserialize for UpdatePlayerListSpec
Source§type Output = UpdatePlayerListSpec
type Output = UpdatePlayerListSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<UpdatePlayerListSpec> for ToClientCommand
impl From<UpdatePlayerListSpec> for ToClientCommand
Source§fn from(value: UpdatePlayerListSpec) -> Self
fn from(value: UpdatePlayerListSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UpdatePlayerListSpec
impl PartialEq for UpdatePlayerListSpec
Source§impl Serialize for UpdatePlayerListSpec
impl Serialize for UpdatePlayerListSpec
type Input = UpdatePlayerListSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for UpdatePlayerListSpec
Auto Trait Implementations§
impl Freeze for UpdatePlayerListSpec
impl RefUnwindSafe for UpdatePlayerListSpec
impl Send for UpdatePlayerListSpec
impl Sync for UpdatePlayerListSpec
impl Unpin for UpdatePlayerListSpec
impl UnwindSafe for UpdatePlayerListSpec
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