Struct minetest_protocol::wire::packet::SetPeerIdBody
source · pub struct SetPeerIdBody {
pub peer_id: u16,
}
Fields§
§peer_id: u16
Implementations§
source§impl SetPeerIdBody
impl SetPeerIdBody
Trait Implementations§
source§impl Clone for SetPeerIdBody
impl Clone for SetPeerIdBody
source§fn clone(&self) -> SetPeerIdBody
fn clone(&self) -> SetPeerIdBody
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 SetPeerIdBody
impl Debug for SetPeerIdBody
source§impl Deserialize for SetPeerIdBody
impl Deserialize for SetPeerIdBody
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<SetPeerIdBody> for SetPeerIdBody
impl PartialEq<SetPeerIdBody> for SetPeerIdBody
source§fn eq(&self, other: &SetPeerIdBody) -> bool
fn eq(&self, other: &SetPeerIdBody) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.