Struct anchor_syn::AccountsStruct [−][src]
pub struct AccountsStruct { pub ident: Ident, pub generics: Generics, pub fields: Vec<AccountField>, // some fields omitted }
Fields
ident: Ident
generics: Generics
fields: Vec<AccountField>
Implementations
pub fn new(
strct: ItemStruct,
fields: Vec<AccountField>,
instruction_api: Option<Punctuated<Expr, Comma>>
) -> Self
[src]Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AccountsStruct
impl !Send for AccountsStruct
impl !Sync for AccountsStruct
impl Unpin for AccountsStruct
impl UnwindSafe for AccountsStruct
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more