pub struct OutboundCapability {
pub is_supported: Option<bool>,
pub operational_configuration: Option<Box<OperationalConfiguration>>,
pub return_location: Option<Box<ReturnLocation>>,
pub delivery_channel: Option<Box<DeliveryChannel>>,
pub pickup_channel: Option<Box<PickupChannel>>,
}Expand description
OutboundCapability : The outbound capability of a supply source.
Fields§
§is_supported: Option<bool>§operational_configuration: Option<Box<OperationalConfiguration>>§return_location: Option<Box<ReturnLocation>>§delivery_channel: Option<Box<DeliveryChannel>>§pickup_channel: Option<Box<PickupChannel>>Implementations§
Source§impl OutboundCapability
impl OutboundCapability
Sourcepub fn new() -> OutboundCapability
pub fn new() -> OutboundCapability
The outbound capability of a supply source.
Trait Implementations§
Source§impl Clone for OutboundCapability
impl Clone for OutboundCapability
Source§fn clone(&self) -> OutboundCapability
fn clone(&self) -> OutboundCapability
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 OutboundCapability
impl Debug for OutboundCapability
Source§impl Default for OutboundCapability
impl Default for OutboundCapability
Source§fn default() -> OutboundCapability
fn default() -> OutboundCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutboundCapability
impl<'de> Deserialize<'de> for OutboundCapability
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 OutboundCapability
impl PartialEq for OutboundCapability
Source§impl Serialize for OutboundCapability
impl Serialize for OutboundCapability
impl StructuralPartialEq for OutboundCapability
Auto Trait Implementations§
impl Freeze for OutboundCapability
impl RefUnwindSafe for OutboundCapability
impl Send for OutboundCapability
impl Sync for OutboundCapability
impl Unpin for OutboundCapability
impl UnwindSafe for OutboundCapability
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