#[non_exhaustive]pub enum DebugSubscriptionUpdateBodyDefaultPayload {
Show 17 variants
DedicatedServerTickTime,
VillageSections,
Bees(DebugSubscriptionUpdateBodyDefaultPayloadBees),
Brains(DebugSubscriptionUpdateBodyDefaultPayloadBrains),
Breezes(DebugSubscriptionUpdateBodyDefaultPayloadBreezes),
GoalSelectors(DebugSubscriptionUpdateBodyDefaultPayloadGoalSelectors),
EntityPaths(DebugSubscriptionUpdateBodyDefaultPayloadEntityPaths),
EntityBlockIntersections(DebugSubscriptionUpdateBodyDefaultPayloadEntityBlockIntersections),
BeeHives(DebugSubscriptionUpdateBodyDefaultPayloadBeeHives),
Pois(DebugSubscriptionUpdateBodyDefaultPayloadPois),
RedstoneWireOrientations(DebugSubscriptionUpdateBodyDefaultPayloadRedstoneWireOrientations),
Raids(DebugSubscriptionUpdateBodyDefaultPayloadRaids),
Structures(DebugSubscriptionUpdateBodyDefaultPayloadStructures),
GameEventListeners(DebugSubscriptionUpdateBodyDefaultPayloadGameEventListeners),
NeighborUpdates(DebugSubscriptionUpdateBodyDefaultPayloadNeighborUpdates),
GameEvents(DebugSubscriptionUpdateBodyDefaultPayloadGameEvents),
Other,
}Expand description
Switch on type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DedicatedServerTickTime
Case(s) DedicatedServerTickTime.
VillageSections
Case(s) VillageSections.
Bees(DebugSubscriptionUpdateBodyDefaultPayloadBees)
Case(s) Bees.
Brains(DebugSubscriptionUpdateBodyDefaultPayloadBrains)
Case(s) Brains.
Breezes(DebugSubscriptionUpdateBodyDefaultPayloadBreezes)
Case(s) Breezes.
GoalSelectors(DebugSubscriptionUpdateBodyDefaultPayloadGoalSelectors)
Case(s) GoalSelectors.
EntityPaths(DebugSubscriptionUpdateBodyDefaultPayloadEntityPaths)
Case(s) EntityPaths.
EntityBlockIntersections(DebugSubscriptionUpdateBodyDefaultPayloadEntityBlockIntersections)
Case(s) EntityBlockIntersections.
BeeHives(DebugSubscriptionUpdateBodyDefaultPayloadBeeHives)
Case(s) BeeHives.
Pois(DebugSubscriptionUpdateBodyDefaultPayloadPois)
Case(s) Pois.
RedstoneWireOrientations(DebugSubscriptionUpdateBodyDefaultPayloadRedstoneWireOrientations)
Case(s) RedstoneWireOrientations.
Raids(DebugSubscriptionUpdateBodyDefaultPayloadRaids)
Case(s) Raids.
Structures(DebugSubscriptionUpdateBodyDefaultPayloadStructures)
Case(s) Structures.
GameEventListeners(DebugSubscriptionUpdateBodyDefaultPayloadGameEventListeners)
Case(s) GameEventListeners.
NeighborUpdates(DebugSubscriptionUpdateBodyDefaultPayloadNeighborUpdates)
Case(s) NeighborUpdates.
GameEvents(DebugSubscriptionUpdateBodyDefaultPayloadGameEvents)
Case(s) GameEvents.
Other
Any other value.
Trait Implementations§
impl StructuralPartialEq for DebugSubscriptionUpdateBodyDefaultPayload
Auto Trait Implementations§
impl !Freeze for DebugSubscriptionUpdateBodyDefaultPayload
impl Forget for DebugSubscriptionUpdateBodyDefaultPayload
impl Move for DebugSubscriptionUpdateBodyDefaultPayload
impl RefUnwindSafe for DebugSubscriptionUpdateBodyDefaultPayload
impl Send for DebugSubscriptionUpdateBodyDefaultPayload
impl Sync for DebugSubscriptionUpdateBodyDefaultPayload
impl Unpin for DebugSubscriptionUpdateBodyDefaultPayload
impl UnsafeUnpin for DebugSubscriptionUpdateBodyDefaultPayloadwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<BlockPos>: UnsafeUnpin,
*const u8: UnsafeUnpin,
Align8<*mut ()>: UnsafeUnpin,
&'static Vtable: UnsafeUnpin,
PhantomData<ByteString>: UnsafeUnpin,
PhantomData<DebugSubscriptionUpdateBodyDefaultPayloadGoalSelectorsGoals>: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
PhantomData<DebugStructureInfo>: UnsafeUnpin,
impl UnwindSafe for DebugSubscriptionUpdateBodyDefaultPayloadwhere
RawVecInner: UnwindSafe,
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: UnwindSafe,
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