pub struct ReturnReceipt { /* private fields */ }Implementations§
Source§impl ReturnReceipt
impl ReturnReceipt
pub fn try_new( authorization: ReturnAuthorization, received_quantity: Quantity, refund_issued: Money, received_at: Timestamp, ) -> DomainResult<Self>
Source§impl ReturnReceipt
impl ReturnReceipt
pub fn received_quantity(&self) -> <Quantity as FieldAccess>::Output<'_>
pub fn refund_issued(&self) -> <Money as FieldAccess>::Output<'_>
pub fn received_at(&self) -> <Timestamp as FieldAccess>::Output<'_>
Trait Implementations§
Source§impl Clone for ReturnReceipt
impl Clone for ReturnReceipt
Source§fn clone(&self) -> ReturnReceipt
fn clone(&self) -> ReturnReceipt
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 ReturnReceipt
impl Debug for ReturnReceipt
Source§impl PartialEq for ReturnReceipt
impl PartialEq for ReturnReceipt
Source§fn eq(&self, other: &ReturnReceipt) -> bool
fn eq(&self, other: &ReturnReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReturnReceipt
impl StructuralPartialEq for ReturnReceipt
Auto Trait Implementations§
impl Freeze for ReturnReceipt
impl RefUnwindSafe for ReturnReceipt
impl Send for ReturnReceipt
impl Sync for ReturnReceipt
impl Unpin for ReturnReceipt
impl UnsafeUnpin for ReturnReceipt
impl UnwindSafe for ReturnReceipt
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