pub struct DeliverContractRequest {
pub ship_symbol: String,
pub trade_symbol: String,
pub units: i32,
}Expand description
Fields§
§ship_symbol: StringSymbol of a ship located in the destination to deliver a contract and that has a good to deliver in its cargo.
trade_symbol: StringThe symbol of the good to deliver.
units: i32Amount of units to deliver.
Implementations§
Trait Implementations§
Source§impl Clone for DeliverContractRequest
impl Clone for DeliverContractRequest
Source§fn clone(&self) -> DeliverContractRequest
fn clone(&self) -> DeliverContractRequest
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 DeliverContractRequest
impl Debug for DeliverContractRequest
Source§impl<'de> Deserialize<'de> for DeliverContractRequest
impl<'de> Deserialize<'de> for DeliverContractRequest
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 DeliverContractRequest
impl PartialEq for DeliverContractRequest
Source§impl Serialize for DeliverContractRequest
impl Serialize for DeliverContractRequest
impl StructuralPartialEq for DeliverContractRequest
Auto Trait Implementations§
impl Freeze for DeliverContractRequest
impl RefUnwindSafe for DeliverContractRequest
impl Send for DeliverContractRequest
impl Sync for DeliverContractRequest
impl Unpin for DeliverContractRequest
impl UnwindSafe for DeliverContractRequest
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