pub struct WalletCreateEvent {
pub smart_wallet: Pubkey,
pub owners: Vec<Pubkey>,
pub threshold: u64,
pub minimum_delay: i64,
pub timestamp: i64,
}
Expand description
Emitted when a SmartWallet is created.
Fields§
§smart_wallet: Pubkey
The SmartWallet.
owners: Vec<Pubkey>
The owners of the created SmartWallet.
threshold: u64
The SmartWallet::threshold at the time of creation.
minimum_delay: i64
The SmartWallet::minimum_delay at the time of creation.
timestamp: i64
The Unix timestamp when the event was emitted.
Trait Implementations§
Source§impl BorshDeserialize for WalletCreateEventwhere
Pubkey: BorshDeserialize,
Vec<Pubkey>: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
impl BorshDeserialize for WalletCreateEventwhere
Pubkey: BorshDeserialize,
Vec<Pubkey>: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
Source§impl BorshSerialize for WalletCreateEventwhere
Pubkey: BorshSerialize,
Vec<Pubkey>: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
impl BorshSerialize for WalletCreateEventwhere
Pubkey: BorshSerialize,
Vec<Pubkey>: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
Source§impl Discriminator for WalletCreateEvent
impl Discriminator for WalletCreateEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for WalletCreateEvent
impl RefUnwindSafe for WalletCreateEvent
impl Send for WalletCreateEvent
impl Sync for WalletCreateEvent
impl Unpin for WalletCreateEvent
impl UnwindSafe for WalletCreateEvent
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