pub struct ServerboundPlaySetBeaconEffect {
pub primary_effect: Option<Vec<u8>>,
pub secondary_effect: Option<Vec<u8>>,
}Fields§
§primary_effect: Option<Vec<u8>>§secondary_effect: Option<Vec<u8>>Implementations§
Source§impl ServerboundPlaySetBeaconEffect
impl ServerboundPlaySetBeaconEffect
Sourcepub const PACKET_ID: i32 = 50i32
pub const PACKET_ID: i32 = 50i32
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 ServerboundPlaySetBeaconEffect
impl Clone for ServerboundPlaySetBeaconEffect
Source§fn clone(&self) -> ServerboundPlaySetBeaconEffect
fn clone(&self) -> ServerboundPlaySetBeaconEffect
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 ServerboundPlaySetBeaconEffect
impl Default for ServerboundPlaySetBeaconEffect
Source§fn default() -> ServerboundPlaySetBeaconEffect
fn default() -> ServerboundPlaySetBeaconEffect
Returns the “default value” for a type. Read more
Source§impl EncodedSize for ServerboundPlaySetBeaconEffect
impl EncodedSize for ServerboundPlaySetBeaconEffect
fn encoded_size(&self) -> usize
Source§impl PartialEq for ServerboundPlaySetBeaconEffect
impl PartialEq for ServerboundPlaySetBeaconEffect
Source§fn eq(&self, other: &ServerboundPlaySetBeaconEffect) -> bool
fn eq(&self, other: &ServerboundPlaySetBeaconEffect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerboundPlaySetBeaconEffect
Auto Trait Implementations§
impl Freeze for ServerboundPlaySetBeaconEffect
impl RefUnwindSafe for ServerboundPlaySetBeaconEffect
impl Send for ServerboundPlaySetBeaconEffect
impl Sync for ServerboundPlaySetBeaconEffect
impl Unpin for ServerboundPlaySetBeaconEffect
impl UnsafeUnpin for ServerboundPlaySetBeaconEffect
impl UnwindSafe for ServerboundPlaySetBeaconEffect
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