pub struct DeliveryPromise { /* private fields */ }Implementations§
Source§impl DeliveryPromise
impl DeliveryPromise
pub fn try_new( plan: LogisticsShipmentPlan, promised_by: Timestamp, ) -> DomainResult<Self>
Source§impl DeliveryPromise
impl DeliveryPromise
pub fn plan(&self) -> <LogisticsShipmentPlan as FieldAccess>::Output<'_>
pub fn promised_by(&self) -> <Timestamp as FieldAccess>::Output<'_>
Trait Implementations§
Source§impl Clone for DeliveryPromise
impl Clone for DeliveryPromise
Source§fn clone(&self) -> DeliveryPromise
fn clone(&self) -> DeliveryPromise
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeliveryPromise
impl Debug for DeliveryPromise
Source§impl PartialEq for DeliveryPromise
impl PartialEq for DeliveryPromise
Source§fn eq(&self, other: &DeliveryPromise) -> bool
fn eq(&self, other: &DeliveryPromise) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DeliveryPromise
impl StructuralPartialEq for DeliveryPromise
Auto Trait Implementations§
impl Freeze for DeliveryPromise
impl RefUnwindSafe for DeliveryPromise
impl Send for DeliveryPromise
impl Sync for DeliveryPromise
impl Unpin for DeliveryPromise
impl UnsafeUnpin for DeliveryPromise
impl UnwindSafe for DeliveryPromise
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