Struct minetest_protocol::wire::command::UpdatePlayerListSpec
source · pub struct UpdatePlayerListSpec {
pub typ: u8,
pub players: Array16<String>,
}
Fields§
§typ: u8
§players: Array16<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
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<UpdatePlayerListSpec> for UpdatePlayerListSpec
impl PartialEq<UpdatePlayerListSpec> for UpdatePlayerListSpec
source§fn eq(&self, other: &UpdatePlayerListSpec) -> bool
fn eq(&self, other: &UpdatePlayerListSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.