pub struct Push<'a, A> {
pub source_buffer: &'a A,
pub destination: &'a A,
pub mint: MaybeMint<'a, A>,
pub bump: u8,
pub amount: u64,
}Expand description
A single fund push parsed from FinalizeSettle: move amount from
source_buffer to destination. bump is source_buffer’s claimed
canonical bump — of the buy mint’s buffer PDA, or of the native SOL buffer
for a native SOL push — which the program re-derives against.
Fields§
§source_buffer: &'a A§destination: &'a A§mint: MaybeMint<'a, A>§bump: u8§amount: u64Trait Implementations§
impl<'a, A: Eq> Eq for Push<'a, A>
impl<'a, A: PartialEq> StructuralPartialEq for Push<'a, A>
Auto Trait Implementations§
impl<'a, A> Freeze for Push<'a, A>
impl<'a, A> RefUnwindSafe for Push<'a, A>
impl<'a, A> Send for Push<'a, A>
impl<'a, A> Sync for Push<'a, A>
impl<'a, A> Unpin for Push<'a, A>
impl<'a, A> UnsafeUnpin for Push<'a, A>
impl<'a, A> UnwindSafe for Push<'a, A>
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