pub struct EntityMetadataEntry {
pub key: u8,
pub type: EntityMetadataEntryType,
pub value: EntityMetadataEntryValue,
}Expand description
Named type entityMetadataEntry.
Fields§
§key: u8key
type: EntityMetadataEntryTypetype
value: EntityMetadataEntryValuevalue
Trait Implementations§
Source§impl Clone for EntityMetadataEntry
impl Clone for EntityMetadataEntry
Source§impl Debug for EntityMetadataEntry
impl Debug for EntityMetadataEntry
Source§impl Decode for EntityMetadataEntry
Available on crate feature v26_2 only.
impl Decode for EntityMetadataEntry
Available on crate feature
v26_2 only.Source§fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
Decodes one value, advancing the reader past it.
Source§impl Encode for EntityMetadataEntry
Available on crate feature v26_2 only.
impl Encode for EntityMetadataEntry
Available on crate feature
v26_2 only.Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.Source§impl Generate for EntityMetadataEntry
Available on crate features testgen and v26_2 only.
impl Generate for EntityMetadataEntry
Available on crate features
testgen and v26_2 only.Source§impl PartialEq for EntityMetadataEntry
impl PartialEq for EntityMetadataEntry
impl StructuralPartialEq for EntityMetadataEntry
Auto Trait Implementations§
impl !Freeze for EntityMetadataEntry
impl Forget for EntityMetadataEntry
impl Move for EntityMetadataEntry
impl RefUnwindSafe for EntityMetadataEntry
impl Send for EntityMetadataEntry
impl Sync for EntityMetadataEntry
impl Unpin for EntityMetadataEntry
impl UnsafeUnpin for EntityMetadataEntry
impl UnwindSafe for EntityMetadataEntry
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