pub struct ShipConditionEvent {
pub symbol: Symbol,
pub component: Component,
pub name: String,
pub description: String,
}Expand description
ShipConditionEvent : An event that represents damage or wear to a ship’s reactor, frame, or engine, reducing the condition of the ship.
Fields§
§symbol: Symbol§component: Component§name: StringThe name of the event.
description: StringA description of the event.
Implementations§
Trait Implementations§
Source§impl Clone for ShipConditionEvent
impl Clone for ShipConditionEvent
Source§fn clone(&self) -> ShipConditionEvent
fn clone(&self) -> ShipConditionEvent
Returns a duplicate 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 ShipConditionEvent
impl Debug for ShipConditionEvent
Source§impl Default for ShipConditionEvent
impl Default for ShipConditionEvent
Source§fn default() -> ShipConditionEvent
fn default() -> ShipConditionEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShipConditionEvent
impl<'de> Deserialize<'de> for ShipConditionEvent
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 ShipConditionEvent
impl PartialEq for ShipConditionEvent
Source§impl Serialize for ShipConditionEvent
impl Serialize for ShipConditionEvent
impl StructuralPartialEq for ShipConditionEvent
Auto Trait Implementations§
impl Freeze for ShipConditionEvent
impl RefUnwindSafe for ShipConditionEvent
impl Send for ShipConditionEvent
impl Sync for ShipConditionEvent
impl Unpin for ShipConditionEvent
impl UnwindSafe for ShipConditionEvent
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