pub struct ContradictionId(pub Ulid);Expand description
Contradiction (first-class conflict) identifier.
Wire format: con _<26-char Crockford ULID>.
Tuple Fields§
§0: UlidImplementations§
Trait Implementations§
Source§impl Clone for ContradictionId
impl Clone for ContradictionId
Source§fn clone(&self) -> ContradictionId
fn clone(&self) -> ContradictionId
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 ContradictionId
impl Debug for ContradictionId
Source§impl Default for ContradictionId
impl Default for ContradictionId
Source§impl<'de> Deserialize<'de> for ContradictionId
impl<'de> Deserialize<'de> for ContradictionId
Source§fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ContradictionId
impl Display for ContradictionId
Source§impl FromStr for ContradictionId
impl FromStr for ContradictionId
Source§impl Hash for ContradictionId
impl Hash for ContradictionId
Source§impl JsonSchema for ContradictionId
impl JsonSchema for ContradictionId
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Ord for ContradictionId
impl Ord for ContradictionId
Source§fn cmp(&self, other: &ContradictionId) -> Ordering
fn cmp(&self, other: &ContradictionId) -> 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 ContradictionId
impl PartialEq for ContradictionId
Source§fn eq(&self, other: &ContradictionId) -> bool
fn eq(&self, other: &ContradictionId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ContradictionId
impl PartialOrd for ContradictionId
Source§impl Serialize for ContradictionId
impl Serialize for ContradictionId
impl Copy for ContradictionId
impl Eq for ContradictionId
impl StructuralPartialEq for ContradictionId
Auto Trait Implementations§
impl Freeze for ContradictionId
impl RefUnwindSafe for ContradictionId
impl Send for ContradictionId
impl Sync for ContradictionId
impl Unpin for ContradictionId
impl UnsafeUnpin for ContradictionId
impl UnwindSafe for ContradictionId
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