pub struct CreateShipSystemScan201ResponseData {
pub cooldown: Cooldown,
pub systems: Vec<ScannedSystem>,
}Expand description
Fields§
§cooldown: Cooldown§systems: Vec<ScannedSystem>List of scanned systems.
Implementations§
Source§impl CreateShipSystemScan201ResponseData
impl CreateShipSystemScan201ResponseData
Sourcepub fn new(
cooldown: Cooldown,
systems: Vec<ScannedSystem>,
) -> CreateShipSystemScan201ResponseData
pub fn new( cooldown: Cooldown, systems: Vec<ScannedSystem>, ) -> CreateShipSystemScan201ResponseData
Create value with optional fields set to None.
Trait Implementations§
Source§impl Clone for CreateShipSystemScan201ResponseData
impl Clone for CreateShipSystemScan201ResponseData
Source§fn clone(&self) -> CreateShipSystemScan201ResponseData
fn clone(&self) -> CreateShipSystemScan201ResponseData
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<'de> Deserialize<'de> for CreateShipSystemScan201ResponseData
impl<'de> Deserialize<'de> for CreateShipSystemScan201ResponseData
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 CreateShipSystemScan201ResponseData
impl PartialEq for CreateShipSystemScan201ResponseData
Source§fn eq(&self, other: &CreateShipSystemScan201ResponseData) -> bool
fn eq(&self, other: &CreateShipSystemScan201ResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateShipSystemScan201ResponseData
Auto Trait Implementations§
impl Freeze for CreateShipSystemScan201ResponseData
impl RefUnwindSafe for CreateShipSystemScan201ResponseData
impl Send for CreateShipSystemScan201ResponseData
impl Sync for CreateShipSystemScan201ResponseData
impl Unpin for CreateShipSystemScan201ResponseData
impl UnwindSafe for CreateShipSystemScan201ResponseData
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