Struct minetest_protocol::wire::command::PrivilegesSpec
source · pub struct PrivilegesSpec {
pub privileges: Array16<String>,
}
Fields§
§privileges: Array16<String>
Trait Implementations§
source§impl Clone for PrivilegesSpec
impl Clone for PrivilegesSpec
source§fn clone(&self) -> PrivilegesSpec
fn clone(&self) -> PrivilegesSpec
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 PrivilegesSpec
impl Debug for PrivilegesSpec
source§impl Deserialize for PrivilegesSpec
impl Deserialize for PrivilegesSpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl From<PrivilegesSpec> for ToClientCommand
impl From<PrivilegesSpec> for ToClientCommand
source§fn from(value: PrivilegesSpec) -> Self
fn from(value: PrivilegesSpec) -> Self
Converts to this type from the input type.
source§impl PartialEq<PrivilegesSpec> for PrivilegesSpec
impl PartialEq<PrivilegesSpec> for PrivilegesSpec
source§fn eq(&self, other: &PrivilegesSpec) -> bool
fn eq(&self, other: &PrivilegesSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.