Struct coreledger_backend::events::AmendmentUpdate
pub struct AmendmentUpdate {
pub amendment_id: AmendmentId,
}
Expand description
Occurs when amendment is updated.
Fields§
§amendment_id: AmendmentId
Id of the amendment.
Implementations§
§impl AmendmentUpdate
impl AmendmentUpdate
pub const AMENDMENT_CREATION_SUCCESS: u16 = 6u16
pub fn new(amendment_id: AmendmentId) -> Self
Trait Implementations§
§impl CandidType for AmendmentUpdate
impl CandidType for AmendmentUpdate
§impl Clone for AmendmentUpdate
impl Clone for AmendmentUpdate
§fn clone(&self) -> AmendmentUpdate
fn clone(&self) -> AmendmentUpdate
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 AmendmentUpdate
impl<'de> Deserialize<'de> for AmendmentUpdate
§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 AmendmentUpdate
impl Serialize for AmendmentUpdate
Auto Trait Implementations§
impl Freeze for AmendmentUpdate
impl RefUnwindSafe for AmendmentUpdate
impl Send for AmendmentUpdate
impl Sync for AmendmentUpdate
impl Unpin for AmendmentUpdate
impl UnwindSafe for AmendmentUpdate
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