Struct switchboard_solana::oracle_program::instructions::aggregator_save_result::AggregatorSaveResult
source · pub struct AggregatorSaveResult {Show 13 fields
pub aggregator: Pubkey,
pub oracle: Pubkey,
pub oracle_authority: Pubkey,
pub oracle_queue: Pubkey,
pub queue_authority: Pubkey,
pub feed_permission: Pubkey,
pub oracle_permission: Pubkey,
pub lease: Pubkey,
pub escrow: Pubkey,
pub token_program: Pubkey,
pub program_state: Pubkey,
pub history_buffer: Pubkey,
pub mint: Pubkey,
}
Fields§
§aggregator: Pubkey
§oracle: Pubkey
§oracle_queue: Pubkey
§feed_permission: Pubkey
§oracle_permission: Pubkey
§lease: Pubkey
§escrow: Pubkey
§token_program: Pubkey
§program_state: Pubkey
§history_buffer: Pubkey
§mint: Pubkey
Implementations§
source§impl<'info> AggregatorSaveResult
impl<'info> AggregatorSaveResult
pub async fn get_instruction( &self, client: Arc<AnchorClient>, program_id: Pubkey, params: AggregatorSaveResultParams, oracles: Vec<Pubkey> ) -> Result<Instruction, SbError>
Trait Implementations§
source§impl Discriminator for AggregatorSaveResult
impl Discriminator for AggregatorSaveResult
const DISCRIMINATOR: [u8; 8] = _
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl RefUnwindSafe for AggregatorSaveResult
impl Send for AggregatorSaveResult
impl Sync for AggregatorSaveResult
impl Unpin for AggregatorSaveResult
impl UnwindSafe for AggregatorSaveResult
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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