pub struct CanonicalModelId(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for CanonicalModelId
impl Clone for CanonicalModelId
Source§fn clone(&self) -> CanonicalModelId
fn clone(&self) -> CanonicalModelId
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 CanonicalModelId
impl Debug for CanonicalModelId
Source§impl<'de> Deserialize<'de> for CanonicalModelId
impl<'de> Deserialize<'de> for CanonicalModelId
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 CanonicalModelId
impl Display for CanonicalModelId
impl Eq for CanonicalModelId
Source§impl FromStr for CanonicalModelId
impl FromStr for CanonicalModelId
Source§impl Hash for CanonicalModelId
impl Hash for CanonicalModelId
Source§impl JsonSchema for CanonicalModelId
impl JsonSchema for CanonicalModelId
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl Ord for CanonicalModelId
impl Ord for CanonicalModelId
Source§fn cmp(&self, other: &CanonicalModelId) -> Ordering
fn cmp(&self, other: &CanonicalModelId) -> 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 CanonicalModelId
impl PartialEq for CanonicalModelId
Source§fn eq(&self, other: &CanonicalModelId) -> bool
fn eq(&self, other: &CanonicalModelId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CanonicalModelId
impl PartialOrd for CanonicalModelId
Source§impl Serialize for CanonicalModelId
impl Serialize for CanonicalModelId
impl StructuralPartialEq for CanonicalModelId
Auto Trait Implementations§
impl Freeze for CanonicalModelId
impl RefUnwindSafe for CanonicalModelId
impl Send for CanonicalModelId
impl Sync for CanonicalModelId
impl Unpin for CanonicalModelId
impl UnsafeUnpin for CanonicalModelId
impl UnwindSafe for CanonicalModelId
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