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