pub struct Overrides {
pub discriminator: Option<TokenStream>,
}
Expand description
Common overrides for the #[instruction]
, #[account]
and #[event]
attributes
Fields§
§discriminator: Option<TokenStream>
Override the default 8-byte discriminator
Trait Implementations§
Source§impl Parse for Overrides
impl Parse for Overrides
fn parse(input: ParseStream<'_>) -> ParseResult<Self>
Auto Trait Implementations§
impl Freeze for Overrides
impl RefUnwindSafe for Overrides
impl !Send for Overrides
impl !Sync for Overrides
impl Unpin for Overrides
impl UnwindSafe for Overrides
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