Struct jet_fixed_term::accounts::Repay
source · [−]pub struct Repay {
pub borrower_account: Pubkey,
pub term_loan: Pubkey,
pub next_term_loan: Pubkey,
pub source: Pubkey,
pub payer: Pubkey,
pub underlying_token_vault: Pubkey,
pub token_program: Pubkey,
}
Expand description
Generated client accounts for Repay
.
Fields
borrower_account: Pubkey
The account tracking information related to this particular user
term_loan: Pubkey
next_term_loan: Pubkey
No payment will be made towards next_term_loan: it is needed purely for bookkeeping. if the user has additional term_loan, this must be the one with the following sequence number. otherwise, put whatever address you want in here
source: Pubkey
The token account to deposit tokens from
payer: Pubkey
The signing authority for the source_account
underlying_token_vault: Pubkey
The token vault holding the underlying token of the ticket
token_program: Pubkey
SPL token program
Trait Implementations
sourceimpl BorshSerialize for Repaywhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for Repaywhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl ToAccountMetas for Repay
impl ToAccountMetas for Repay
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 Repay
impl Send for Repay
impl Sync for Repay
impl Unpin for Repay
impl UnwindSafe for Repay
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