Struct anchor_syn::parser::accounts::event_cpi::EventAuthority
source · pub struct EventAuthority {
pub name: &'static str,
pub seeds: TokenStream,
}
Available on crate feature
event-cpi
only.Expand description
This struct is used to keep the authority account information in sync.
Fields§
§name: &'static str
Account name of the event authority
seeds: TokenStream
Seeds expression of the event authority
Implementations§
source§impl EventAuthority
impl EventAuthority
sourcepub fn name_token_stream(&self) -> TokenStream
pub fn name_token_stream(&self) -> TokenStream
Returns the name without surrounding quotes.
Auto Trait Implementations§
impl Freeze for EventAuthority
impl RefUnwindSafe for EventAuthority
impl !Send for EventAuthority
impl !Sync for EventAuthority
impl Unpin for EventAuthority
impl UnwindSafe for EventAuthority
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