pub struct LaunchSRVEvent {
pub srv_type: SRVType,
pub srv_type_localized: Option<String>,
pub loadout: String,
pub id: u8,
pub player_controlled: bool,
}
Expand description
Fired when launching an SRV while landed on a planet.
Fields§
§srv_type: SRVType
The type of SRV launched.
srv_type_localized: Option<String>
The localized name of the type of SRV launched.
loadout: String
§id: u8
The id of the SRV.
player_controlled: bool
Whether the SRV is player controlled.
Trait Implementations§
Source§impl Clone for LaunchSRVEvent
impl Clone for LaunchSRVEvent
Source§fn clone(&self) -> LaunchSRVEvent
fn clone(&self) -> LaunchSRVEvent
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 LaunchSRVEvent
impl Debug for LaunchSRVEvent
Source§impl<'de> Deserialize<'de> for LaunchSRVEvent
impl<'de> Deserialize<'de> for LaunchSRVEvent
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 LaunchSRVEvent
impl PartialEq for LaunchSRVEvent
Source§impl Serialize for LaunchSRVEvent
impl Serialize for LaunchSRVEvent
impl StructuralPartialEq for LaunchSRVEvent
Auto Trait Implementations§
impl Freeze for LaunchSRVEvent
impl RefUnwindSafe for LaunchSRVEvent
impl Send for LaunchSRVEvent
impl Sync for LaunchSRVEvent
impl Unpin for LaunchSRVEvent
impl UnwindSafe for LaunchSRVEvent
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