Struct abstract_os::objects::module::ModuleInfo
source · [−]pub struct ModuleInfo {
pub provider: String,
pub name: String,
pub version: ModuleVersion,
}Fields
provider: StringProvider of the module
name: StringName of the contract
version: ModuleVersionVersion of the module
Implementations
sourceimpl ModuleInfo
impl ModuleInfo
Trait Implementations
sourceimpl Clone for ModuleInfo
impl Clone for ModuleInfo
sourcefn clone(&self) -> ModuleInfo
fn clone(&self) -> ModuleInfo
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ModuleInfo
impl Debug for ModuleInfo
sourceimpl<'de> Deserialize<'de> for ModuleInfo
impl<'de> Deserialize<'de> for ModuleInfo
sourcefn 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
sourceimpl Display for ModuleInfo
impl Display for ModuleInfo
sourceimpl JsonSchema for ModuleInfo
impl JsonSchema for ModuleInfo
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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 moresourceimpl KeyDeserialize for ModuleInfo
impl KeyDeserialize for ModuleInfo
sourceimpl PartialEq<ModuleInfo> for ModuleInfo
impl PartialEq<ModuleInfo> for ModuleInfo
sourcefn eq(&self, other: &ModuleInfo) -> bool
fn eq(&self, other: &ModuleInfo) -> bool
sourceimpl<'a> Prefixer<'a> for ModuleInfo
impl<'a> Prefixer<'a> for ModuleInfo
sourceimpl<'a> PrimaryKey<'a> for ModuleInfo
impl<'a> PrimaryKey<'a> for ModuleInfo
type Prefix = (String, String)
type Prefix = (String, String)
These associated types need to implement
Prefixer, so that they can be useful arguments
for prefix(), sub_prefix(), and their key-deserializable variants. Read moretype SubPrefix = String
type SuperSuffix = (String, String)
fn joined_key(&self) -> Vec<u8, Global>
fn joined_extra_key(&self, key: &[u8]) -> Vec<u8, Global>
sourceimpl Serialize for ModuleInfo
impl Serialize for ModuleInfo
sourceimpl TryFrom<ContractVersion> for ModuleInfo
impl TryFrom<ContractVersion> for ModuleInfo
impl StructuralPartialEq for ModuleInfo
Auto Trait Implementations
impl RefUnwindSafe for ModuleInfo
impl Send for ModuleInfo
impl Sync for ModuleInfo
impl Unpin for ModuleInfo
impl UnwindSafe for ModuleInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more