pub enum FrameRead {
Token,
Lamports {
fee_bps: u16,
fixed: u64,
},
}Expand description
Where a frame’s fill lands.
Variants§
Token
quoteAccount, for SOL in.
Lamports
The taker’s lamports, net of fixed lamports the transaction pays whatever it trades and of
feeBps its router keeps of the output.
Trait Implementations§
impl Copy for FrameRead
Source§impl<'de> Deserialize<'de> for FrameRead
impl<'de> Deserialize<'de> for FrameRead
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
impl Eq for FrameRead
impl StructuralPartialEq for FrameRead
Auto Trait Implementations§
impl Forget for FrameRead
impl Freeze for FrameRead
impl Move for FrameRead
impl RefUnwindSafe for FrameRead
impl Send for FrameRead
impl Sync for FrameRead
impl Unpin for FrameRead
impl UnsafeUnpin for FrameRead
impl UnwindSafe for FrameRead
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