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