pub struct GameProfileProperties {
pub map: IndexMap<String, ProfilePropertyValue>,
}Expand description
The properties of the player, including their in-game skin and cape.
Fields§
§map: IndexMap<String, ProfilePropertyValue>Trait Implementations§
Source§impl AzBuf for GameProfileProperties
impl AzBuf for GameProfileProperties
fn azalea_read( ctx: Ctx<'_>, buf: &mut Cursor<&[u8]>, ) -> Result<Self, BufReadError>
fn azalea_write(&self, ctx: Ctx<'_>, buf: &mut impl Write) -> Result<()>
Source§impl Clone for GameProfileProperties
impl Clone for GameProfileProperties
Source§impl<O: Ops> Codec<O> for GameProfileProperties
impl<O: Ops> Codec<O> for GameProfileProperties
type Incomplete = IncompleteGameProfileProperties<O>
Source§fn codec_read(ops: &O) -> ReadResult<Self>
fn codec_read(ops: &O) -> ReadResult<Self>
Convert from a data format to a data structure.
Source§fn codec_write(&self) -> WriteResult<O>
fn codec_write(&self) -> WriteResult<O>
Convert from a data structure to a data format.
Source§impl Debug for GameProfileProperties
impl Debug for GameProfileProperties
Source§impl Default for GameProfileProperties
impl Default for GameProfileProperties
Source§impl<O: Ops> Defaultable<O> for GameProfileProperties
impl<O: Ops> Defaultable<O> for GameProfileProperties
fn is_default(&self) -> bool
impl Eq for GameProfileProperties
Source§impl From<GameProfileProperties> for SerializableProfileProperties
impl From<GameProfileProperties> for SerializableProfileProperties
Source§fn from(value: GameProfileProperties) -> Self
fn from(value: GameProfileProperties) -> Self
Converts to this type from the input type.
Source§impl From<SerializableProfileProperties> for GameProfileProperties
impl From<SerializableProfileProperties> for GameProfileProperties
Source§fn from(value: SerializableProfileProperties) -> Self
fn from(value: SerializableProfileProperties) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GameProfileProperties
impl PartialEq for GameProfileProperties
impl StructuralPartialEq for GameProfileProperties
Auto Trait Implementations§
impl Forget for GameProfileProperties
impl Freeze for GameProfilePropertieswhere
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, ProfilePropertyValue>>: Freeze,
impl Move for GameProfileProperties
impl RefUnwindSafe for GameProfileProperties
impl Send for GameProfileProperties
impl Sync for GameProfileProperties
impl Unpin for GameProfileProperties
impl UnsafeUnpin for GameProfilePropertieswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, ProfilePropertyValue>>: UnsafeUnpin,
impl UnwindSafe for GameProfileProperties
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.