pub struct UnloadingPolicy(/* private fields */);Expand description
Policy on how a vehicle can be unloaded. Applies only to shipments having both a pickup and a delivery.
Other shipments are free to occur anywhere on the route independent of
unloading_policy.
Implementations§
Trait Implementations§
Source§impl Clone for UnloadingPolicy
impl Clone for UnloadingPolicy
Source§fn clone(&self) -> UnloadingPolicy
fn clone(&self) -> UnloadingPolicy
Returns a copy 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 UnloadingPolicy
impl Debug for UnloadingPolicy
Source§impl Default for UnloadingPolicy
impl Default for UnloadingPolicy
Source§fn default() -> UnloadingPolicy
fn default() -> UnloadingPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnloadingPolicy
impl<'de> Deserialize<'de> for UnloadingPolicy
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 From<String> for UnloadingPolicy
impl From<String> for UnloadingPolicy
Source§impl PartialEq for UnloadingPolicy
impl PartialEq for UnloadingPolicy
Source§impl Serialize for UnloadingPolicy
impl Serialize for UnloadingPolicy
impl StructuralPartialEq for UnloadingPolicy
Auto Trait Implementations§
impl Freeze for UnloadingPolicy
impl RefUnwindSafe for UnloadingPolicy
impl Send for UnloadingPolicy
impl Sync for UnloadingPolicy
impl Unpin for UnloadingPolicy
impl UnwindSafe for UnloadingPolicy
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