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