pub struct AdvancementEvent {
pub player_name: String,
pub uuid: String,
pub advancement_id: String,
}Expand description
Fired when a player earns an advancement (Post only).
Fields§
§player_name: String§uuid: String§advancement_id: StringNamespaced id of the advancement, e.g. "minecraft:story/mine_stone".
Trait Implementations§
Source§impl Clone for AdvancementEvent
impl Clone for AdvancementEvent
Source§fn clone(&self) -> AdvancementEvent
fn clone(&self) -> AdvancementEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AdvancementEvent
impl RefUnwindSafe for AdvancementEvent
impl Send for AdvancementEvent
impl Sync for AdvancementEvent
impl Unpin for AdvancementEvent
impl UnsafeUnpin for AdvancementEvent
impl UnwindSafe for AdvancementEvent
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