Struct jet_fixed_term::accounts::RedeemTicket
source · [−]pub struct RedeemTicket {
pub ticket: Pubkey,
pub authority: Pubkey,
pub claimant_token_account: Pubkey,
pub market: Pubkey,
pub underlying_token_vault: Pubkey,
pub token_program: Pubkey,
}
Expand description
Generated client accounts for RedeemTicket
.
Fields
ticket: Pubkey
One of either SplitTicket
or ClaimTicket
for redemption
The account that must sign to redeem the ticket
claimant_token_account: Pubkey
The token account designated to receive the assets underlying the claim
market: Pubkey
The Market responsible for the asset
underlying_token_vault: Pubkey
The vault stores the tokens of the underlying asset managed by the Market
token_program: Pubkey
SPL token program
Trait Implementations
sourceimpl BorshSerialize for RedeemTicketwhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for RedeemTicketwhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl ToAccountMetas for RedeemTicket
impl ToAccountMetas for RedeemTicket
sourcefn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
is_signer
is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client. Read moreAuto Trait Implementations
impl RefUnwindSafe for RedeemTicket
impl Send for RedeemTicket
impl Sync for RedeemTicket
impl Unpin for RedeemTicket
impl UnwindSafe for RedeemTicket
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more