pub struct LiquidityRegenerationScheduleStep {
pub timestamp: Option<Timestamp>,
pub bid_liquidity_used: Option<Decimal>,
pub ask_liquidity_used: Option<Decimal>,
}Expand description
A liquidity regeneration schedule Step indicates the amount of bid and ask liquidity that is used by the Account at a certain time. These amounts will only change at the timestamp of the following step.
Fields§
§timestamp: Option<Timestamp>The timestamp of the schedule step.
bid_liquidity_used: Option<Decimal>The amount of bid liquidity used at this step in the schedule.
ask_liquidity_used: Option<Decimal>The amount of ask liquidity used at this step in the schedule.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LiquidityRegenerationScheduleStep
impl<'de> Deserialize<'de> for LiquidityRegenerationScheduleStep
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 StructuralPartialEq for LiquidityRegenerationScheduleStep
Auto Trait Implementations§
impl Freeze for LiquidityRegenerationScheduleStep
impl RefUnwindSafe for LiquidityRegenerationScheduleStep
impl Send for LiquidityRegenerationScheduleStep
impl Sync for LiquidityRegenerationScheduleStep
impl Unpin for LiquidityRegenerationScheduleStep
impl UnsafeUnpin for LiquidityRegenerationScheduleStep
impl UnwindSafe for LiquidityRegenerationScheduleStep
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