pub struct CodamaAccount {
pub name: &'static str,
pub discriminator: u8,
pub size: usize,
pub fields: &'static [FieldDescriptor],
}Expand description
Codama-compatible account descriptor.
Fields§
§name: &'static str§discriminator: u8§size: usize§fields: &'static [FieldDescriptor]Trait Implementations§
Source§impl Clone for CodamaAccount
impl Clone for CodamaAccount
Source§fn clone(&self) -> CodamaAccount
fn clone(&self) -> CodamaAccount
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 CodamaAccount
Auto Trait Implementations§
impl Freeze for CodamaAccount
impl RefUnwindSafe for CodamaAccount
impl Send for CodamaAccount
impl Sync for CodamaAccount
impl Unpin for CodamaAccount
impl UnsafeUnpin for CodamaAccount
impl UnwindSafe for CodamaAccount
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