#[repr(C)]pub struct BidderPot {
pub bidder_pot: Pubkey,
pub bidder_act: Pubkey,
pub auction_act: Pubkey,
pub emptied: bool,
}Fields§
§bidder_pot: PubkeyPoints at actual pot that is a token account
bidder_act: PubkeyOriginating bidder account
auction_act: PubkeyAuction account
emptied: boolemptied or not
Implementations§
Source§impl BidderPot
impl BidderPot
pub fn from_account_info(a: &AccountInfo<'_>) -> Result<BidderPot, ProgramError>
Trait Implementations§
Source§impl BorshDeserialize for BidderPot
impl BorshDeserialize for BidderPot
Source§impl BorshSerialize for BidderPot
impl BorshSerialize for BidderPot
impl StructuralPartialEq for BidderPot
Auto Trait Implementations§
impl Freeze for BidderPot
impl RefUnwindSafe for BidderPot
impl Send for BidderPot
impl Sync for BidderPot
impl Unpin for BidderPot
impl UnwindSafe for BidderPot
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