pub struct ReputationModuleMetadata {
pub achievement_collection: Principal,
pub issuer_name: String,
pub issuer_description: String,
pub total_issued: u128,
}
Expand description
Metadata for the reputation module.
Fields§
§achievement_collection: Principal
§issuer_name: String
§issuer_description: String
§total_issued: u128
Implementations§
Trait Implementations§
source§impl CandidType for ReputationModuleMetadata
impl CandidType for ReputationModuleMetadata
source§impl Clone for ReputationModuleMetadata
impl Clone for ReputationModuleMetadata
source§fn clone(&self) -> ReputationModuleMetadata
fn clone(&self) -> ReputationModuleMetadata
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<'de> Deserialize<'de> for ReputationModuleMetadata
impl<'de> Deserialize<'de> for ReputationModuleMetadata
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 Storable for ReputationModuleMetadata
impl Storable for ReputationModuleMetadata
source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes
, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.Auto Trait Implementations§
impl RefUnwindSafe for ReputationModuleMetadata
impl Send for ReputationModuleMetadata
impl Sync for ReputationModuleMetadata
impl Unpin for ReputationModuleMetadata
impl UnwindSafe for ReputationModuleMetadata
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