pub struct PrepaymentApplicationId(/* private fields */);Expand description
Strongly-typed prepayment application identifier.
Implementations§
Source§impl PrepaymentApplicationId
impl PrepaymentApplicationId
Sourcepub fn new() -> PrepaymentApplicationId
Available on crate feature std only.
pub fn new() -> PrepaymentApplicationId
std only.Create a new random ID (UUID v4).
Sourcepub const fn nil() -> PrepaymentApplicationId
pub const fn nil() -> PrepaymentApplicationId
Create a nil (all-zeros) ID.
Sourcepub const fn from_uuid(id: Uuid) -> PrepaymentApplicationId
pub const fn from_uuid(id: Uuid) -> PrepaymentApplicationId
Create from an existing Uuid.
Trait Implementations§
Source§impl AsRef<Uuid> for PrepaymentApplicationId
impl AsRef<Uuid> for PrepaymentApplicationId
Source§impl Clone for PrepaymentApplicationId
impl Clone for PrepaymentApplicationId
Source§fn clone(&self) -> PrepaymentApplicationId
fn clone(&self) -> PrepaymentApplicationId
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 moreimpl Copy for PrepaymentApplicationId
Source§impl Debug for PrepaymentApplicationId
impl Debug for PrepaymentApplicationId
Source§impl Default for PrepaymentApplicationId
Available on crate feature std only.
impl Default for PrepaymentApplicationId
Available on crate feature
std only.Source§fn default() -> PrepaymentApplicationId
fn default() -> PrepaymentApplicationId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrepaymentApplicationId
impl<'de> Deserialize<'de> for PrepaymentApplicationId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PrepaymentApplicationId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PrepaymentApplicationId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PrepaymentApplicationId
impl Display for PrepaymentApplicationId
impl Eq for PrepaymentApplicationId
Source§impl From<PrepaymentApplicationId> for Uuid
impl From<PrepaymentApplicationId> for Uuid
Source§fn from(id: PrepaymentApplicationId) -> Uuid
fn from(id: PrepaymentApplicationId) -> Uuid
Converts to this type from the input type.
Source§impl From<Uuid> for PrepaymentApplicationId
impl From<Uuid> for PrepaymentApplicationId
Source§fn from(id: Uuid) -> PrepaymentApplicationId
fn from(id: Uuid) -> PrepaymentApplicationId
Converts to this type from the input type.
Source§impl FromStr for PrepaymentApplicationId
impl FromStr for PrepaymentApplicationId
Source§impl Hash for PrepaymentApplicationId
impl Hash for PrepaymentApplicationId
Source§impl Ord for PrepaymentApplicationId
impl Ord for PrepaymentApplicationId
Source§fn cmp(&self, other: &PrepaymentApplicationId) -> Ordering
fn cmp(&self, other: &PrepaymentApplicationId) -> Ordering
1.21.0 (const: unstable) · 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 PrepaymentApplicationId
impl PartialEq for PrepaymentApplicationId
Source§impl PartialOrd for PrepaymentApplicationId
impl PartialOrd for PrepaymentApplicationId
Source§impl Serialize for PrepaymentApplicationId
impl Serialize for PrepaymentApplicationId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PrepaymentApplicationId
Auto Trait Implementations§
impl Freeze for PrepaymentApplicationId
impl RefUnwindSafe for PrepaymentApplicationId
impl Send for PrepaymentApplicationId
impl Sync for PrepaymentApplicationId
impl Unpin for PrepaymentApplicationId
impl UnsafeUnpin for PrepaymentApplicationId
impl UnwindSafe for PrepaymentApplicationId
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