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