Struct hypn_gameset::Coin
source[−]#[repr(packed)]pub struct Coin {
pub initiator: Pubkey,
pub acceptor: Pubkey,
pub is_flipping: bool,
pub is_cross: bool,
pub created_at: i64,
pub bump: u8,
}
Fields
initiator: Pubkey
acceptor: Pubkey
is_flipping: bool
is_cross: bool
created_at: i64
bump: u8
Trait Implementations
Deserializes previously initialized account data. Should fail for all
uninitialized accounts, where the bytes are zeroed. Implementations
should be unique to a particular account type so that one can never
successfully deserialize the data of one account type into another.
For example, if the SPL token program where to implement this trait,
it should impossible to deserialize a Mint
account into a token
Account
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Coin
impl UnwindSafe for Coin
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more