pub struct ShipRegistration {
pub name: String,
pub faction_symbol: String,
pub role: ShipRole,
}Expand description
The public registration information of the ship
Fields§
§name: StringThe agent’s registered name of the ship
faction_symbol: StringThe symbol of the faction the ship is registered with
role: ShipRoleImplementations§
Trait Implementations§
Source§impl Clone for ShipRegistration
impl Clone for ShipRegistration
Source§fn clone(&self) -> ShipRegistration
fn clone(&self) -> ShipRegistration
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 ShipRegistration
impl Debug for ShipRegistration
Source§impl<'de> Deserialize<'de> for ShipRegistration
impl<'de> Deserialize<'de> for ShipRegistration
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 ShipRegistration
impl PartialEq for ShipRegistration
Source§impl Serialize for ShipRegistration
impl Serialize for ShipRegistration
impl StructuralPartialEq for ShipRegistration
Auto Trait Implementations§
impl Freeze for ShipRegistration
impl RefUnwindSafe for ShipRegistration
impl Send for ShipRegistration
impl Sync for ShipRegistration
impl Unpin for ShipRegistration
impl UnwindSafe for ShipRegistration
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