pub struct ReservationId(/* private fields */);Expand description
Newtype identifier shared by Gingr endpoints that pass numeric provider IDs.
Implementations§
Trait Implementations§
Source§impl Clone for ReservationId
impl Clone for ReservationId
Source§fn clone(&self) -> ReservationId
fn clone(&self) -> ReservationId
Returns a duplicate of the value. Read more
1.0.0 · 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 ReservationId
impl Debug for ReservationId
Source§impl<'de> Deserialize<'de> for ReservationId
impl<'de> Deserialize<'de> for ReservationId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ReservationId
impl Display for ReservationId
Source§impl Hash for ReservationId
impl Hash for ReservationId
Source§impl Ord for ReservationId
impl Ord for ReservationId
Source§fn cmp(&self, other: &ReservationId) -> Ordering
fn cmp(&self, other: &ReservationId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReservationId
impl PartialEq for ReservationId
Source§impl PartialOrd for ReservationId
impl PartialOrd for ReservationId
Source§impl Serialize for ReservationId
impl Serialize for ReservationId
impl Copy for ReservationId
impl Eq for ReservationId
impl StructuralPartialEq for ReservationId
Auto Trait Implementations§
impl Freeze for ReservationId
impl RefUnwindSafe for ReservationId
impl Send for ReservationId
impl Sync for ReservationId
impl Unpin for ReservationId
impl UnsafeUnpin for ReservationId
impl UnwindSafe for ReservationId
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