Struct dao::modules::repository::events::ValueUpdated
source · pub struct ValueUpdated {
pub key: String,
pub value: Bytes,
pub activation_time: Option<u64>,
}
Expand description
Event emitted when the repository value has been changed.
Fields§
§key: String
§value: Bytes
§activation_time: Option<u64>
Trait Implementations§
source§impl BorshDeserialize for ValueUpdated
impl BorshDeserialize for ValueUpdated
source§fn deserialize(buf: &mut &[u8]) -> Result<Self>
fn deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
source§impl BorshSerialize for ValueUpdated
impl BorshSerialize for ValueUpdated
source§impl Debug for ValueUpdated
impl Debug for ValueUpdated
source§impl OdraEvent for ValueUpdated
impl OdraEvent for ValueUpdated
source§impl PartialEq for ValueUpdated
impl PartialEq for ValueUpdated
source§fn eq(&self, other: &ValueUpdated) -> bool
fn eq(&self, other: &ValueUpdated) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ValueUpdated
impl StructuralPartialEq for ValueUpdated
Auto Trait Implementations§
impl RefUnwindSafe for ValueUpdated
impl Send for ValueUpdated
impl Sync for ValueUpdated
impl Unpin for ValueUpdated
impl UnwindSafe for ValueUpdated
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