pub struct AddActionCallbackArgs {
pub action_index: u8,
pub destination_program: Pubkey,
pub discriminator: Vec<u8>,
pub payload: Vec<u8>,
pub compute_units: u32,
pub accounts: Vec<ShortAccountMeta>,
}Fields§
§action_index: u8Flat index of the action to attach the callback to, ordered as: commit actions, commit_and_undelegate commit actions, commit_and_undelegate undelegate actions, standalone actions.
destination_program: Pubkey§discriminator: Vec<u8>§payload: Vec<u8>§compute_units: u32§accounts: Vec<ShortAccountMeta>Trait Implementations§
Source§impl Clone for AddActionCallbackArgs
impl Clone for AddActionCallbackArgs
Source§fn clone(&self) -> AddActionCallbackArgs
fn clone(&self) -> AddActionCallbackArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddActionCallbackArgs
impl Debug for AddActionCallbackArgs
Source§impl<'de> Deserialize<'de> for AddActionCallbackArgs
impl<'de> Deserialize<'de> for AddActionCallbackArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AddActionCallbackArgs
impl PartialEq for AddActionCallbackArgs
Source§fn eq(&self, other: &AddActionCallbackArgs) -> bool
fn eq(&self, other: &AddActionCallbackArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AddActionCallbackArgs
impl Serialize for AddActionCallbackArgs
impl Eq for AddActionCallbackArgs
impl StructuralPartialEq for AddActionCallbackArgs
Auto Trait Implementations§
impl Freeze for AddActionCallbackArgs
impl RefUnwindSafe for AddActionCallbackArgs
impl Send for AddActionCallbackArgs
impl Sync for AddActionCallbackArgs
impl Unpin for AddActionCallbackArgs
impl UnsafeUnpin for AddActionCallbackArgs
impl UnwindSafe for AddActionCallbackArgs
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