pub struct CarrierCode {
pub carrier_code_type: Option<CarrierCodeType>,
pub carrier_code_value: Option<String>,
}Expand description
CarrierCode : Identifies the carrier that will deliver the shipment.
Fields§
§carrier_code_type: Option<CarrierCodeType>§carrier_code_value: Option<String>Value of the carrier code.
Implementations§
Source§impl CarrierCode
impl CarrierCode
Sourcepub fn new() -> CarrierCode
pub fn new() -> CarrierCode
Identifies the carrier that will deliver the shipment.
Trait Implementations§
Source§impl Clone for CarrierCode
impl Clone for CarrierCode
Source§fn clone(&self) -> CarrierCode
fn clone(&self) -> CarrierCode
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 CarrierCode
impl Debug for CarrierCode
Source§impl Default for CarrierCode
impl Default for CarrierCode
Source§fn default() -> CarrierCode
fn default() -> CarrierCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CarrierCode
impl<'de> Deserialize<'de> for CarrierCode
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 CarrierCode
impl PartialEq for CarrierCode
Source§impl Serialize for CarrierCode
impl Serialize for CarrierCode
impl StructuralPartialEq for CarrierCode
Auto Trait Implementations§
impl Freeze for CarrierCode
impl RefUnwindSafe for CarrierCode
impl Send for CarrierCode
impl Sync for CarrierCode
impl Unpin for CarrierCode
impl UnwindSafe for CarrierCode
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