pub struct ServerboundPlayUpdateCommandBlockMinecart {
pub entity_id: i32,
pub command: String,
pub track_output: bool,
}Fields§
§entity_id: i32§command: String§track_output: boolImplementations§
Source§impl ServerboundPlayUpdateCommandBlockMinecart
impl ServerboundPlayUpdateCommandBlockMinecart
Sourcepub const PACKET_ID: i32 = 53i32
pub const PACKET_ID: i32 = 53i32
The packet ID used by the registry to dispatch this packet.
This value is declared via #[packet(id = N)] and corresponds to
the VarInt packet ID read/written by the framing layer. The struct’s
own Encode/Decode does NOT include this ID — it only encodes the
packet’s payload fields.
Trait Implementations§
Source§impl Clone for ServerboundPlayUpdateCommandBlockMinecart
impl Clone for ServerboundPlayUpdateCommandBlockMinecart
Source§fn clone(&self) -> ServerboundPlayUpdateCommandBlockMinecart
fn clone(&self) -> ServerboundPlayUpdateCommandBlockMinecart
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 Default for ServerboundPlayUpdateCommandBlockMinecart
impl Default for ServerboundPlayUpdateCommandBlockMinecart
Source§fn default() -> ServerboundPlayUpdateCommandBlockMinecart
fn default() -> ServerboundPlayUpdateCommandBlockMinecart
Returns the “default value” for a type. Read more
Source§impl EncodedSize for ServerboundPlayUpdateCommandBlockMinecart
impl EncodedSize for ServerboundPlayUpdateCommandBlockMinecart
fn encoded_size(&self) -> usize
Source§impl PartialEq for ServerboundPlayUpdateCommandBlockMinecart
impl PartialEq for ServerboundPlayUpdateCommandBlockMinecart
Source§fn eq(&self, other: &ServerboundPlayUpdateCommandBlockMinecart) -> bool
fn eq(&self, other: &ServerboundPlayUpdateCommandBlockMinecart) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerboundPlayUpdateCommandBlockMinecart
Auto Trait Implementations§
impl Freeze for ServerboundPlayUpdateCommandBlockMinecart
impl RefUnwindSafe for ServerboundPlayUpdateCommandBlockMinecart
impl Send for ServerboundPlayUpdateCommandBlockMinecart
impl Sync for ServerboundPlayUpdateCommandBlockMinecart
impl Unpin for ServerboundPlayUpdateCommandBlockMinecart
impl UnsafeUnpin for ServerboundPlayUpdateCommandBlockMinecart
impl UnwindSafe for ServerboundPlayUpdateCommandBlockMinecart
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