pub struct CrewAssignEvent {
pub name: String,
pub crew_id: u64,
pub role: CrewAssignEventRole,
}
Expand description
Fired when assigning crew.
Fields§
§name: String
The name of the crew that was assigned.
crew_id: u64
The id of the crew member that was assigned a new role.
role: CrewAssignEventRole
The new role of the crew member.
Trait Implementations§
Source§impl Clone for CrewAssignEvent
impl Clone for CrewAssignEvent
Source§fn clone(&self) -> CrewAssignEvent
fn clone(&self) -> CrewAssignEvent
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 CrewAssignEvent
impl Debug for CrewAssignEvent
Source§impl<'de> Deserialize<'de> for CrewAssignEvent
impl<'de> Deserialize<'de> for CrewAssignEvent
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
Source§impl PartialEq for CrewAssignEvent
impl PartialEq for CrewAssignEvent
Source§impl Serialize for CrewAssignEvent
impl Serialize for CrewAssignEvent
impl StructuralPartialEq for CrewAssignEvent
Auto Trait Implementations§
impl Freeze for CrewAssignEvent
impl RefUnwindSafe for CrewAssignEvent
impl Send for CrewAssignEvent
impl Sync for CrewAssignEvent
impl Unpin for CrewAssignEvent
impl UnwindSafe for CrewAssignEvent
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