pub struct ComponentId {
pub uuid: Uuid,
}Expand description
Native counterpart of golem:core/types@2.0.0::component-id.
Fields§
§uuid: UuidImplementations§
Trait Implementations§
Source§impl Clone for ComponentId
impl Clone for ComponentId
Source§impl Debug for ComponentId
impl Debug for ComponentId
Source§impl<'de> Deserialize<'de> for ComponentId
impl<'de> Deserialize<'de> for ComponentId
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
impl Eq for ComponentId
Source§impl From<ComponentId> for Uuid
impl From<ComponentId> for Uuid
Source§fn from(value: ComponentId) -> Self
fn from(value: ComponentId) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for ComponentId
impl From<Uuid> for ComponentId
Source§impl FromSchema for ComponentId
impl FromSchema for ComponentId
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>
Source§impl Hash for ComponentId
impl Hash for ComponentId
Source§impl IntoSchema for ComponentId
impl IntoSchema for ComponentId
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl Ord for ComponentId
impl Ord for ComponentId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ComponentId
impl PartialEq for ComponentId
Source§impl PartialOrd for ComponentId
impl PartialOrd for ComponentId
Source§impl Serialize for ComponentId
impl Serialize for ComponentId
impl StructuralPartialEq for ComponentId
Auto Trait Implementations§
impl Freeze for ComponentId
impl RefUnwindSafe for ComponentId
impl Send for ComponentId
impl Sync for ComponentId
impl Unpin for ComponentId
impl UnsafeUnpin for ComponentId
impl UnwindSafe for ComponentId
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