pub struct ChannelDetails {
pub channel_type: ChannelType,
pub amazon_order_details: Option<Box<AmazonOrderDetails>>,
pub amazon_shipment_details: Option<Box<AmazonShipmentDetails>>,
}Expand description
ChannelDetails : Shipment source channel related information.
Fields§
§channel_type: ChannelType§amazon_order_details: Option<Box<AmazonOrderDetails>>§amazon_shipment_details: Option<Box<AmazonShipmentDetails>>Implementations§
Source§impl ChannelDetails
impl ChannelDetails
Sourcepub fn new(channel_type: ChannelType) -> ChannelDetails
pub fn new(channel_type: ChannelType) -> ChannelDetails
Shipment source channel related information.
Trait Implementations§
Source§impl Clone for ChannelDetails
impl Clone for ChannelDetails
Source§fn clone(&self) -> ChannelDetails
fn clone(&self) -> ChannelDetails
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 ChannelDetails
impl Debug for ChannelDetails
Source§impl Default for ChannelDetails
impl Default for ChannelDetails
Source§fn default() -> ChannelDetails
fn default() -> ChannelDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelDetails
impl<'de> Deserialize<'de> for ChannelDetails
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 ChannelDetails
impl PartialEq for ChannelDetails
Source§impl Serialize for ChannelDetails
impl Serialize for ChannelDetails
impl StructuralPartialEq for ChannelDetails
Auto Trait Implementations§
impl Freeze for ChannelDetails
impl RefUnwindSafe for ChannelDetails
impl Send for ChannelDetails
impl Sync for ChannelDetails
impl Unpin for ChannelDetails
impl UnwindSafe for ChannelDetails
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