pub struct RawReservationAttempt {
pub stock: RawStockState,
pub version: Nat,
pub quantity: Quantity,
pub expected_version: Nat,
}Fields§
§stock: RawStockState§version: Nat§quantity: Quantity§expected_version: NatTrait Implementations§
Source§impl Clone for RawReservationAttempt
impl Clone for RawReservationAttempt
Source§fn clone(&self) -> RawReservationAttempt
fn clone(&self) -> RawReservationAttempt
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 RawReservationAttempt
impl Debug for RawReservationAttempt
Source§impl PartialEq for RawReservationAttempt
impl PartialEq for RawReservationAttempt
Source§fn eq(&self, other: &RawReservationAttempt) -> bool
fn eq(&self, other: &RawReservationAttempt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RawReservationAttempt
impl Eq for RawReservationAttempt
impl StructuralPartialEq for RawReservationAttempt
Auto Trait Implementations§
impl Freeze for RawReservationAttempt
impl RefUnwindSafe for RawReservationAttempt
impl Send for RawReservationAttempt
impl Sync for RawReservationAttempt
impl Unpin for RawReservationAttempt
impl UnsafeUnpin for RawReservationAttempt
impl UnwindSafe for RawReservationAttempt
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