Struct kittycad_modeling_cmds::id::ModelingCmdId
source · pub struct ModelingCmdId(pub Uuid);
Expand description
All commands have unique IDs. These should be randomly generated.
Tuple Fields§
§0: Uuid
Trait Implementations§
source§impl Clone for ModelingCmdId
impl Clone for ModelingCmdId
source§fn clone(&self) -> ModelingCmdId
fn clone(&self) -> ModelingCmdId
Returns a copy of the value. Read more
1.0.0 · 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 ModelingCmdId
impl Debug for ModelingCmdId
source§impl<'de> Deserialize<'de> for ModelingCmdId
impl<'de> Deserialize<'de> for ModelingCmdId
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 ModelingCmdId
impl Display for ModelingCmdId
source§impl From<ModelingCmdId> for Primitive
impl From<ModelingCmdId> for Primitive
source§fn from(id: ModelingCmdId) -> Self
fn from(id: ModelingCmdId) -> Self
Converts to this type from the input type.
source§impl From<ModelingCmdId> for Uuid
impl From<ModelingCmdId> for Uuid
source§fn from(id: ModelingCmdId) -> Self
fn from(id: ModelingCmdId) -> Self
Converts to this type from the input type.
source§impl From<Uuid> for ModelingCmdId
impl From<Uuid> for ModelingCmdId
source§impl FromStr for ModelingCmdId
impl FromStr for ModelingCmdId
source§impl Hash for ModelingCmdId
impl Hash for ModelingCmdId
source§impl JsonSchema for ModelingCmdId
impl JsonSchema for ModelingCmdId
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &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 ModelingCmdId
impl Ord for ModelingCmdId
source§fn cmp(&self, other: &ModelingCmdId) -> Ordering
fn cmp(&self, other: &ModelingCmdId) -> Ordering
1.21.0 · 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 ModelingCmdId
impl PartialEq for ModelingCmdId
source§fn eq(&self, other: &ModelingCmdId) -> bool
fn eq(&self, other: &ModelingCmdId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ModelingCmdId
impl PartialOrd for ModelingCmdId
source§fn partial_cmp(&self, other: &ModelingCmdId) -> Option<Ordering>
fn partial_cmp(&self, other: &ModelingCmdId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ModelingCmdId
impl Serialize for ModelingCmdId
source§impl TryFrom<Primitive> for ModelingCmdId
impl TryFrom<Primitive> for ModelingCmdId
source§impl Value for ModelingCmdId
impl Value for ModelingCmdId
source§fn into_parts(self) -> Vec<Primitive>
fn into_parts(self) -> Vec<Primitive>
Store the value in memory.
source§fn from_parts<I>(values: &mut I) -> Result<(Self, usize), MemoryError>
fn from_parts<I>(values: &mut I) -> Result<(Self, usize), MemoryError>
Read the value from memory.
impl Copy for ModelingCmdId
impl Eq for ModelingCmdId
impl StructuralPartialEq for ModelingCmdId
Auto Trait Implementations§
impl Freeze for ModelingCmdId
impl RefUnwindSafe for ModelingCmdId
impl Send for ModelingCmdId
impl Sync for ModelingCmdId
impl Unpin for ModelingCmdId
impl UnwindSafe for ModelingCmdId
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