pub struct IdlEventSnapshot {
pub name: String,
pub discriminator: Vec<u8>,
pub docs: Vec<String>,
}Expand description
Event definition
Fields§
§name: StringEvent name
discriminator: Vec<u8>8-byte discriminator
docs: Vec<String>Documentation
Trait Implementations§
Source§impl Clone for IdlEventSnapshot
impl Clone for IdlEventSnapshot
Source§fn clone(&self) -> IdlEventSnapshot
fn clone(&self) -> IdlEventSnapshot
Returns a duplicate 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 Debug for IdlEventSnapshot
impl Debug for IdlEventSnapshot
Source§impl<'de> Deserialize<'de> for IdlEventSnapshot
impl<'de> Deserialize<'de> for IdlEventSnapshot
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
Auto Trait Implementations§
impl Freeze for IdlEventSnapshot
impl RefUnwindSafe for IdlEventSnapshot
impl Send for IdlEventSnapshot
impl Sync for IdlEventSnapshot
impl Unpin for IdlEventSnapshot
impl UnwindSafe for IdlEventSnapshot
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