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