Struct concordium_std::ModuleReference
source · pub struct ModuleReference(_);
Expand description
A reference to a smart contract module deployed on the chain.
Trait Implementations
sourceimpl AsRef<[u8; 32]> for ModuleReference
impl AsRef<[u8; 32]> for ModuleReference
sourceimpl Clone for ModuleReference
impl Clone for ModuleReference
sourcefn clone(&self) -> ModuleReference
fn clone(&self) -> ModuleReference
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ModuleReference
impl Debug for ModuleReference
sourceimpl Deserial for ModuleReference
impl Deserial for ModuleReference
sourcefn deserial<R>(source: &mut R) -> Result<ModuleReference, ParseError>where
R: Read,
fn deserial<R>(source: &mut R) -> Result<ModuleReference, ParseError>where
R: Read,
Attempt to read a structure from a given source, failing if an error
occurs during deserialization or reading. Read more
sourceimpl From<[u8; 32]> for ModuleReference
impl From<[u8; 32]> for ModuleReference
sourcefn from(bytes: [u8; 32]) -> ModuleReference
fn from(bytes: [u8; 32]) -> ModuleReference
Converts to this type from the input type.
sourceimpl From<ModuleReference> for [u8; 32]
impl From<ModuleReference> for [u8; 32]
sourcefn from(module: ModuleReference) -> [u8; 32]
fn from(module: ModuleReference) -> [u8; 32]
Converts to this type from the input type.
sourceimpl Ord for ModuleReference
impl Ord for ModuleReference
sourcefn cmp(&self, other: &ModuleReference) -> Ordering
fn cmp(&self, other: &ModuleReference) -> Ordering
1.21.0 · sourcefn 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 · sourcefn 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
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ModuleReference> for ModuleReference
impl PartialEq<ModuleReference> for ModuleReference
sourcefn eq(&self, other: &ModuleReference) -> bool
fn eq(&self, other: &ModuleReference) -> bool
sourceimpl PartialOrd<ModuleReference> for ModuleReference
impl PartialOrd<ModuleReference> for ModuleReference
sourcefn partial_cmp(&self, other: &ModuleReference) -> Option<Ordering>
fn partial_cmp(&self, other: &ModuleReference) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl SchemaType for ModuleReference
impl SchemaType for ModuleReference
sourceimpl Serial for ModuleReference
impl Serial for ModuleReference
impl Copy for ModuleReference
impl Eq for ModuleReference
impl StructuralEq for ModuleReference
impl StructuralPartialEq for ModuleReference
Auto Trait Implementations
impl RefUnwindSafe for ModuleReference
impl Send for ModuleReference
impl Sync for ModuleReference
impl Unpin for ModuleReference
impl UnwindSafe for ModuleReference
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