pub struct NewCrateEvent {
pub crate_key: Pubkey,
pub issue_authority: Pubkey,
pub withdraw_authority: Pubkey,
}Expand description
Emitted when a crate is created.
Fields§
§crate_key: PubkeyKey of the created crate.
Issue authority.
Withdraw authority.
Trait Implementations§
Source§impl BorshDeserialize for NewCrateEventwhere
Pubkey: BorshDeserialize,
impl BorshDeserialize for NewCrateEventwhere
Pubkey: BorshDeserialize,
Source§impl BorshSerialize for NewCrateEventwhere
Pubkey: BorshSerialize,
impl BorshSerialize for NewCrateEventwhere
Pubkey: BorshSerialize,
Source§impl Discriminator for NewCrateEvent
impl Discriminator for NewCrateEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for NewCrateEvent
impl RefUnwindSafe for NewCrateEvent
impl Send for NewCrateEvent
impl Sync for NewCrateEvent
impl Unpin for NewCrateEvent
impl UnsafeUnpin for NewCrateEvent
impl UnwindSafe for NewCrateEvent
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more