pub struct BatchTrackingId(/* private fields */);Expand description
Unique identifier for a batch tracking record.
Implementations§
Trait Implementations§
Source§impl Clone for BatchTrackingId
impl Clone for BatchTrackingId
Source§fn clone(&self) -> BatchTrackingId
fn clone(&self) -> BatchTrackingId
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 BatchTrackingId
Source§impl Debug for BatchTrackingId
impl Debug for BatchTrackingId
Source§impl Default for BatchTrackingId
impl Default for BatchTrackingId
Source§impl<'de> Deserialize<'de> for BatchTrackingId
impl<'de> Deserialize<'de> for BatchTrackingId
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 BatchTrackingId
impl Display for BatchTrackingId
impl Eq for BatchTrackingId
Source§impl From<BatchTrackingId> for Uuid
impl From<BatchTrackingId> for Uuid
Source§fn from(id: BatchTrackingId) -> Self
fn from(id: BatchTrackingId) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for BatchTrackingId
impl From<Uuid> for BatchTrackingId
Source§impl FromStr for BatchTrackingId
Every id round-trips through its own Display.
impl FromStr for BatchTrackingId
Every id round-trips through its own Display.
Without this, anything that parses an id from a string — clap
value_parsers, query strings, config files — has to widen the
field back to a bare Uuid at the boundary and convert by
hand, which is the exact laundering the newtype exists to
prevent. agora-cli carried a hand-written
parse_moderation_action_id for precisely this reason.
Source§impl Hash for BatchTrackingId
impl Hash for BatchTrackingId
Source§impl Ord for BatchTrackingId
impl Ord for BatchTrackingId
Source§fn cmp(&self, other: &BatchTrackingId) -> Ordering
fn cmp(&self, other: &BatchTrackingId) -> 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 BatchTrackingId
impl PartialEq for BatchTrackingId
Source§impl PartialOrd for BatchTrackingId
impl PartialOrd for BatchTrackingId
Source§impl Serialize for BatchTrackingId
impl Serialize for BatchTrackingId
impl StructuralPartialEq for BatchTrackingId
Auto Trait Implementations§
impl Freeze for BatchTrackingId
impl RefUnwindSafe for BatchTrackingId
impl Send for BatchTrackingId
impl Sync for BatchTrackingId
impl Unpin for BatchTrackingId
impl UnsafeUnpin for BatchTrackingId
impl UnwindSafe for BatchTrackingId
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