pub struct ScannedShipEngine {
pub symbol: String,
}Expand description
The engine of the ship.
Fields§
§symbol: StringThe symbol of the engine.
Implementations§
Source§impl ScannedShipEngine
impl ScannedShipEngine
Sourcepub fn new(symbol: String) -> ScannedShipEngine
pub fn new(symbol: String) -> ScannedShipEngine
Create value with optional fields set to None.
Trait Implementations§
Source§impl Clone for ScannedShipEngine
impl Clone for ScannedShipEngine
Source§fn clone(&self) -> ScannedShipEngine
fn clone(&self) -> ScannedShipEngine
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 ScannedShipEngine
impl Debug for ScannedShipEngine
Source§impl<'de> Deserialize<'de> for ScannedShipEngine
impl<'de> Deserialize<'de> for ScannedShipEngine
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 ScannedShipEngine
impl PartialEq for ScannedShipEngine
Source§impl Serialize for ScannedShipEngine
impl Serialize for ScannedShipEngine
impl StructuralPartialEq for ScannedShipEngine
Auto Trait Implementations§
impl Freeze for ScannedShipEngine
impl RefUnwindSafe for ScannedShipEngine
impl Send for ScannedShipEngine
impl Sync for ScannedShipEngine
impl Unpin for ScannedShipEngine
impl UnwindSafe for ScannedShipEngine
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