pub struct Functions {Show 17 fields
pub admin: Pubkey,
pub initialized: bool,
pub exp: Pubkey,
pub ln: Pubkey,
pub log10: Pubkey,
pub sin: Pubkey,
pub cos: Pubkey,
pub padding_0: Pubkey,
pub padding_1: Pubkey,
pub padding_2: Pubkey,
pub padding_3: Pubkey,
pub padding_4: Pubkey,
pub padding_5: Pubkey,
pub padding_6: Pubkey,
pub padding_7: Pubkey,
pub padding_8: Pubkey,
pub padding_9: Pubkey,
}Fields§
§admin: Pubkey§initialized: bool§exp: Pubkey§ln: Pubkey§log10: Pubkey§sin: Pubkey§cos: Pubkey§padding_0: Pubkey§padding_1: Pubkey§padding_2: Pubkey§padding_3: Pubkey§padding_4: Pubkey§padding_5: Pubkey§padding_6: Pubkey§padding_7: Pubkey§padding_8: Pubkey§padding_9: PubkeyTrait Implementations§
Source§impl AccountDeserialize for Functions
impl AccountDeserialize for Functions
Source§fn try_deserialize(buf: &mut &[u8]) -> Result<Self>
fn try_deserialize(buf: &mut &[u8]) -> Result<Self>
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 were to implement this trait,
it should be impossible to deserialize a
Mint account into a token
Account.Source§fn try_deserialize_unchecked(buf: &mut &[u8]) -> Result<Self>
fn try_deserialize_unchecked(buf: &mut &[u8]) -> Result<Self>
Deserializes account data without checking the account discriminator.
This should only be used on account initialization, when the bytes of
the account are zeroed.
Source§impl AccountSerialize for Functions
impl AccountSerialize for Functions
Source§impl BorshDeserialize for Functions
impl BorshDeserialize for Functions
Source§impl BorshSerialize for Functions
impl BorshSerialize for Functions
Source§impl Discriminator for Functions
impl Discriminator for Functions
const DISCRIMINATOR: [u8; 8]
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for Functions
impl RefUnwindSafe for Functions
impl Send for Functions
impl Sync for Functions
impl Unpin for Functions
impl UnwindSafe for Functions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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