pub enum ModuleName {
Module(String),
Silo(String, String, u32, u32, u32),
}Expand description
The parsed name of a module: a plain module or a silo package release.
Not persisted itself; ModuleName::get_storage_name is the single point
that derives the storage name both the statements and the catalog use.
Variants§
Implementations§
Source§impl ModuleName
impl ModuleName
pub fn get_storage_name(&self) -> String
Trait Implementations§
Source§impl Clone for ModuleName
impl Clone for ModuleName
Source§impl Debug for ModuleName
impl Debug for ModuleName
Source§impl Display for ModuleName
impl Display for ModuleName
impl Eq for ModuleName
Source§impl From<ModuleName> for ModuleName
impl From<ModuleName> for ModuleName
Source§fn from(v: ModuleName) -> Self
fn from(v: ModuleName) -> Self
Converts to this type from the input type.
Source§impl From<ModuleName> for ModuleName
impl From<ModuleName> for ModuleName
Source§fn from(v: ModuleName) -> Self
fn from(v: ModuleName) -> Self
Converts to this type from the input type.
Source§impl Hash for ModuleName
impl Hash for ModuleName
Source§impl PartialEq for ModuleName
impl PartialEq for ModuleName
impl StructuralPartialEq for ModuleName
Source§impl<'a> TryFrom<&'a DefineModuleStatement> for ModuleName
impl<'a> TryFrom<&'a DefineModuleStatement> for ModuleName
Auto Trait Implementations§
impl Freeze for ModuleName
impl RefUnwindSafe for ModuleName
impl Send for ModuleName
impl Sync for ModuleName
impl Unpin for ModuleName
impl UnsafeUnpin for ModuleName
impl UnwindSafe for ModuleName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.