pub struct DoctrineId(pub Ulid);Expand description
Promoted doctrine identifier.
Wire format: doc _<26-char Crockford ULID>.
Tuple Fields§
§0: UlidImplementations§
Source§impl DoctrineId
impl DoctrineId
Trait Implementations§
Source§impl Clone for DoctrineId
impl Clone for DoctrineId
Source§fn clone(&self) -> DoctrineId
fn clone(&self) -> DoctrineId
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 DoctrineId
impl Debug for DoctrineId
Source§impl Default for DoctrineId
impl Default for DoctrineId
Source§impl<'de> Deserialize<'de> for DoctrineId
impl<'de> Deserialize<'de> for DoctrineId
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 DoctrineId
impl Display for DoctrineId
Source§impl FromStr for DoctrineId
impl FromStr for DoctrineId
Source§impl Hash for DoctrineId
impl Hash for DoctrineId
Source§impl JsonSchema for DoctrineId
impl JsonSchema for DoctrineId
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 DoctrineId
impl Ord for DoctrineId
Source§fn cmp(&self, other: &DoctrineId) -> Ordering
fn cmp(&self, other: &DoctrineId) -> 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 DoctrineId
impl PartialEq for DoctrineId
Source§fn eq(&self, other: &DoctrineId) -> bool
fn eq(&self, other: &DoctrineId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DoctrineId
impl PartialOrd for DoctrineId
Source§impl Serialize for DoctrineId
impl Serialize for DoctrineId
impl Copy for DoctrineId
impl Eq for DoctrineId
impl StructuralPartialEq for DoctrineId
Auto Trait Implementations§
impl Freeze for DoctrineId
impl RefUnwindSafe for DoctrineId
impl Send for DoctrineId
impl Sync for DoctrineId
impl Unpin for DoctrineId
impl UnsafeUnpin for DoctrineId
impl UnwindSafe for DoctrineId
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