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