pub struct CrewMemberRoleChangeEvent {
pub crew: String,
pub telepresence: bool,
pub role: CrewMemberRoleChangeEventRole,
}
Expand description
Fired whenever another player changes their own role.
Fields§
§crew: String
The CMDR name of the player that changed their role.
telepresence: bool
§role: CrewMemberRoleChangeEventRole
The new role of the player.
Trait Implementations§
Source§impl Clone for CrewMemberRoleChangeEvent
impl Clone for CrewMemberRoleChangeEvent
Source§fn clone(&self) -> CrewMemberRoleChangeEvent
fn clone(&self) -> CrewMemberRoleChangeEvent
Returns a copy 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 CrewMemberRoleChangeEvent
impl Debug for CrewMemberRoleChangeEvent
Source§impl<'de> Deserialize<'de> for CrewMemberRoleChangeEvent
impl<'de> Deserialize<'de> for CrewMemberRoleChangeEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CrewMemberRoleChangeEvent
Auto Trait Implementations§
impl Freeze for CrewMemberRoleChangeEvent
impl RefUnwindSafe for CrewMemberRoleChangeEvent
impl Send for CrewMemberRoleChangeEvent
impl Sync for CrewMemberRoleChangeEvent
impl Unpin for CrewMemberRoleChangeEvent
impl UnwindSafe for CrewMemberRoleChangeEvent
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