pub struct PlayNbtQueryResponseSpec {
pub transaction_id: VarInt,
pub nbt: NamedNbtTag,
}
Fields§
§transaction_id: VarInt
§nbt: NamedNbtTag
Trait Implementations§
Source§impl Clone for PlayNbtQueryResponseSpec
impl Clone for PlayNbtQueryResponseSpec
Source§fn clone(&self) -> PlayNbtQueryResponseSpec
fn clone(&self) -> PlayNbtQueryResponseSpec
Returns a duplicate 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 PlayNbtQueryResponseSpec
impl Debug for PlayNbtQueryResponseSpec
Source§impl Deserialize for PlayNbtQueryResponseSpec
impl Deserialize for PlayNbtQueryResponseSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(VarInt, NamedNbtTag)> for PlayNbtQueryResponseSpec
impl From<(VarInt, NamedNbtTag)> for PlayNbtQueryResponseSpec
Source§fn from(other: (VarInt, NamedNbtTag)) -> Self
fn from(other: (VarInt, NamedNbtTag)) -> Self
Converts to this type from the input type.
Source§impl From<PlayNbtQueryResponseSpec> for (VarInt, NamedNbtTag)
impl From<PlayNbtQueryResponseSpec> for (VarInt, NamedNbtTag)
Source§fn from(other: PlayNbtQueryResponseSpec) -> Self
fn from(other: PlayNbtQueryResponseSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayNbtQueryResponseSpec
impl PartialEq for PlayNbtQueryResponseSpec
Source§impl Serialize for PlayNbtQueryResponseSpec
impl Serialize for PlayNbtQueryResponseSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayNbtQueryResponseSpec
Auto Trait Implementations§
impl Freeze for PlayNbtQueryResponseSpec
impl RefUnwindSafe for PlayNbtQueryResponseSpec
impl Send for PlayNbtQueryResponseSpec
impl Sync for PlayNbtQueryResponseSpec
impl Unpin for PlayNbtQueryResponseSpec
impl UnwindSafe for PlayNbtQueryResponseSpec
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