pub struct StableModuleId(pub Uuid);
Expand description
Wrapper type around Uuid
, represents the unique ID of a module.
This uniquely identifies a module. There is no other module that shares this ID.
Tuple Fields§
§0: Uuid
Implementations§
Trait Implementations§
Source§impl Clone for StableModuleId
impl Clone for StableModuleId
Source§fn clone(&self) -> StableModuleId
fn clone(&self) -> StableModuleId
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 StableModuleId
impl Debug for StableModuleId
Source§impl<'de> Deserialize<'de> for StableModuleId
impl<'de> Deserialize<'de> for StableModuleId
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 StableModuleId
impl Display for StableModuleId
Source§impl From<StableModuleId> for Uuid
impl From<StableModuleId> for Uuid
Source§fn from(t: StableModuleId) -> Self
fn from(t: StableModuleId) -> Self
Converts to this type from the input type.
Source§impl FromStr for StableModuleId
impl FromStr for StableModuleId
Source§impl Hash for StableModuleId
impl Hash for StableModuleId
Source§impl PartialEq for StableModuleId
impl PartialEq for StableModuleId
Source§impl PathPart for StableModuleId
impl PathPart for StableModuleId
Source§fn get_path_string(&self) -> String
fn get_path_string(&self) -> String
string value to replace placeholder with
Source§impl Serialize for StableModuleId
impl Serialize for StableModuleId
impl Copy for StableModuleId
impl Eq for StableModuleId
impl StructuralPartialEq for StableModuleId
Auto Trait Implementations§
impl Freeze for StableModuleId
impl RefUnwindSafe for StableModuleId
impl Send for StableModuleId
impl Sync for StableModuleId
impl Unpin for StableModuleId
impl UnwindSafe for StableModuleId
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