pub struct CodamaEvent {
pub name: &'static str,
pub discriminator: u8,
pub fields: &'static [FieldDescriptor],
}Expand description
Codama-compatible event descriptor.
Fields§
§name: &'static str§discriminator: u8§fields: &'static [FieldDescriptor]Trait Implementations§
Source§impl Clone for CodamaEvent
impl Clone for CodamaEvent
Source§fn clone(&self) -> CodamaEvent
fn clone(&self) -> CodamaEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodamaEvent
Auto Trait Implementations§
impl Freeze for CodamaEvent
impl RefUnwindSafe for CodamaEvent
impl Send for CodamaEvent
impl Sync for CodamaEvent
impl Unpin for CodamaEvent
impl UnsafeUnpin for CodamaEvent
impl UnwindSafe for CodamaEvent
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