pub struct DockSRVEvent {
pub srv_type: SRVType,
pub srv_type_localized: Option<String>,
pub id: u8,
}
Expand description
Fired when the player docks their SRV to their ship.
Fields§
§srv_type: SRVType
The type of SRV the player was driving.
srv_type_localized: Option<String>
The localized name of the type of SRV.
id: u8
Trait Implementations§
Source§impl Clone for DockSRVEvent
impl Clone for DockSRVEvent
Source§fn clone(&self) -> DockSRVEvent
fn clone(&self) -> DockSRVEvent
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 DockSRVEvent
impl Debug for DockSRVEvent
Source§impl<'de> Deserialize<'de> for DockSRVEvent
impl<'de> Deserialize<'de> for DockSRVEvent
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 DockSRVEvent
impl PartialEq for DockSRVEvent
Source§impl Serialize for DockSRVEvent
impl Serialize for DockSRVEvent
impl StructuralPartialEq for DockSRVEvent
Auto Trait Implementations§
impl Freeze for DockSRVEvent
impl RefUnwindSafe for DockSRVEvent
impl Send for DockSRVEvent
impl Sync for DockSRVEvent
impl Unpin for DockSRVEvent
impl UnwindSafe for DockSRVEvent
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