pub struct ClientboundPlayResetScore {
pub entity_name: String,
pub objective_name: Option<String>,
}Fields§
§entity_name: String§objective_name: Option<String>Implementations§
Source§impl ClientboundPlayResetScore
impl ClientboundPlayResetScore
Sourcepub const PACKET_ID: i32 = 73i32
pub const PACKET_ID: i32 = 73i32
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 ClientboundPlayResetScore
impl Clone for ClientboundPlayResetScore
Source§fn clone(&self) -> ClientboundPlayResetScore
fn clone(&self) -> ClientboundPlayResetScore
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 ClientboundPlayResetScore
impl Debug for ClientboundPlayResetScore
Source§impl Default for ClientboundPlayResetScore
impl Default for ClientboundPlayResetScore
Source§fn default() -> ClientboundPlayResetScore
fn default() -> ClientboundPlayResetScore
Returns the “default value” for a type. Read more
Source§impl Encode for ClientboundPlayResetScore
impl Encode for ClientboundPlayResetScore
Source§impl EncodedSize for ClientboundPlayResetScore
impl EncodedSize for ClientboundPlayResetScore
fn encoded_size(&self) -> usize
impl StructuralPartialEq for ClientboundPlayResetScore
Auto Trait Implementations§
impl Freeze for ClientboundPlayResetScore
impl RefUnwindSafe for ClientboundPlayResetScore
impl Send for ClientboundPlayResetScore
impl Sync for ClientboundPlayResetScore
impl Unpin for ClientboundPlayResetScore
impl UnsafeUnpin for ClientboundPlayResetScore
impl UnwindSafe for ClientboundPlayResetScore
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