Struct coreledger_backend::events::PricingChanged
pub struct PricingChanged {
pub event_id: u8,
pub unique_asset_id: UniqueAssetId,
pub new_fee_amount: u256,
}
Expand description
Occurs when wee price changes.
Fields§
§event_id: u8
A byte for indicating the type of pricing. At the moment 0x01 = supply creation.
unique_asset_id: UniqueAssetId
Unique of the asset, for which the price has changed.
new_fee_amount: u256
New price.
Trait Implementations§
§impl CandidType for PricingChanged
impl CandidType for PricingChanged
§impl Clone for PricingChanged
impl Clone for PricingChanged
§fn clone(&self) -> PricingChanged
fn clone(&self) -> PricingChanged
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 PricingChanged
impl<'de> Deserialize<'de> for PricingChanged
§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 PricingChanged
impl Serialize for PricingChanged
Auto Trait Implementations§
impl Freeze for PricingChanged
impl RefUnwindSafe for PricingChanged
impl Send for PricingChanged
impl Sync for PricingChanged
impl Unpin for PricingChanged
impl UnwindSafe for PricingChanged
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