pub struct LogisticsException { /* private fields */ }Implementations§
Source§impl LogisticsException
impl LogisticsException
pub const fn new( shipment_id: ShipmentId, kind: LogisticsExceptionKind, raised_at: Timestamp, customer_visible: bool, ) -> Self
pub const fn try_new( shipment_id: ShipmentId, kind: LogisticsExceptionKind, raised_at: Timestamp, customer_visible: bool, ) -> Result<Self, ValidationError>
pub fn shipment_id(&self) -> <ShipmentId as FieldAccess>::Output<'_>
pub fn kind(&self) -> <LogisticsExceptionKind as FieldAccess>::Output<'_>
pub fn raised_at(&self) -> <Timestamp as FieldAccess>::Output<'_>
pub fn customer_visible(&self) -> <bool as FieldAccess>::Output<'_>
Trait Implementations§
Source§impl Clone for LogisticsException
impl Clone for LogisticsException
Source§fn clone(&self) -> LogisticsException
fn clone(&self) -> LogisticsException
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 LogisticsException
impl Debug for LogisticsException
Source§impl PartialEq for LogisticsException
impl PartialEq for LogisticsException
Source§fn eq(&self, other: &LogisticsException) -> bool
fn eq(&self, other: &LogisticsException) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LogisticsException
impl StructuralPartialEq for LogisticsException
Auto Trait Implementations§
impl Freeze for LogisticsException
impl RefUnwindSafe for LogisticsException
impl Send for LogisticsException
impl Sync for LogisticsException
impl Unpin for LogisticsException
impl UnsafeUnpin for LogisticsException
impl UnwindSafe for LogisticsException
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