pub struct OnPlayerDemotedEvent {
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when a player is demoted.
Fields§
§name: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnPlayerDemotedEvent
impl Clone for OnPlayerDemotedEvent
Source§fn clone(&self) -> OnPlayerDemotedEvent
fn clone(&self) -> OnPlayerDemotedEvent
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 moreimpl Copy for OnPlayerDemotedEvent
Source§impl Debug for OnPlayerDemotedEvent
impl Debug for OnPlayerDemotedEvent
Source§impl Default for OnPlayerDemotedEvent
impl Default for OnPlayerDemotedEvent
Source§fn default() -> OnPlayerDemotedEvent
fn default() -> OnPlayerDemotedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnPlayerDemotedEvent
impl PartialEq for OnPlayerDemotedEvent
impl StructuralPartialEq for OnPlayerDemotedEvent
Auto Trait Implementations§
impl Freeze for OnPlayerDemotedEvent
impl RefUnwindSafe for OnPlayerDemotedEvent
impl Send for OnPlayerDemotedEvent
impl Sync for OnPlayerDemotedEvent
impl Unpin for OnPlayerDemotedEvent
impl UnsafeUnpin for OnPlayerDemotedEvent
impl UnwindSafe for OnPlayerDemotedEvent
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