pub enum AssetUpdateCode {
AssetCreationSuccess = 1,
AssetActivationSuccess = 18,
IssueTokensSucesss = 3,
DestroyTokensSuccess = 4,
SetAssetControllerSuccess = 5,
SetAssetIssuerSuccess = 6,
AmendmentCreationSuccess = 102,
AssetCreationActivationSuccess = 2,
}
Expand description
Type of the AssetUpdate
event
Variants§
AssetCreationSuccess = 1
AssetActivationSuccess = 18
IssueTokensSucesss = 3
DestroyTokensSuccess = 4
SetAssetControllerSuccess = 5
SetAssetIssuerSuccess = 6
AmendmentCreationSuccess = 102
AssetCreationActivationSuccess = 2
Implementations§
§impl AssetUpdateCode
impl AssetUpdateCode
pub fn into_code(&self) -> u16
pub fn from_code(code: u16) -> AssetUpdateCode
Trait Implementations§
§impl CandidType for AssetUpdateCode
impl CandidType for AssetUpdateCode
§impl Clone for AssetUpdateCode
impl Clone for AssetUpdateCode
§fn clone(&self) -> AssetUpdateCode
fn clone(&self) -> AssetUpdateCode
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 more§impl<'de> Deserialize<'de> for AssetUpdateCode
impl<'de> Deserialize<'de> for AssetUpdateCode
§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
§impl Serialize for AssetUpdateCode
impl Serialize for AssetUpdateCode
impl Copy for AssetUpdateCode
Auto Trait Implementations§
impl Freeze for AssetUpdateCode
impl RefUnwindSafe for AssetUpdateCode
impl Send for AssetUpdateCode
impl Sync for AssetUpdateCode
impl Unpin for AssetUpdateCode
impl UnwindSafe for AssetUpdateCode
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