pub struct IncidenceId(/* private fields */);Expand description
Stable canonical incidence identifier.
§Performance
Copying, comparing, ordering, and hashing are O(1).
Implementations§
Trait Implementations§
Source§impl Clone for IncidenceId
impl Clone for IncidenceId
Source§fn clone(&self) -> IncidenceId
fn clone(&self) -> IncidenceId
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 IncidenceId
Source§impl Debug for IncidenceId
impl Debug for IncidenceId
Source§impl<'de> Deserialize<'de> for IncidenceId
impl<'de> Deserialize<'de> for IncidenceId
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 IncidenceId
impl Display for IncidenceId
impl Eq for IncidenceId
Source§impl From<IncidenceId> for PropertySubject
impl From<IncidenceId> for PropertySubject
Source§fn from(id: IncidenceId) -> Self
fn from(id: IncidenceId) -> Self
Source§impl Hash for IncidenceId
impl Hash for IncidenceId
Source§impl Ord for IncidenceId
impl Ord for IncidenceId
Source§fn cmp(&self, other: &IncidenceId) -> Ordering
fn cmp(&self, other: &IncidenceId) -> 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 IncidenceId
impl PartialEq for IncidenceId
Source§fn eq(&self, other: &IncidenceId) -> bool
fn eq(&self, other: &IncidenceId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IncidenceId
impl PartialOrd for IncidenceId
Source§impl Serialize for IncidenceId
impl Serialize for IncidenceId
impl StructuralPartialEq for IncidenceId
Auto Trait Implementations§
impl Freeze for IncidenceId
impl RefUnwindSafe for IncidenceId
impl Send for IncidenceId
impl Sync for IncidenceId
impl Unpin for IncidenceId
impl UnsafeUnpin for IncidenceId
impl UnwindSafe for IncidenceId
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