pub struct PlatformMakerQuickstartRequest {
pub market: String,
pub product: PlatformMakerControlProduct,
pub spread_bps: u16,
pub size: String,
pub duration: Option<String>,
pub levels: Option<u8>,
pub level_step_bps: Option<u16>,
pub side: PlatformMakerQuickstartSide,
pub async_only: bool,
}Expand description
Human-facing maker configuration. spread_bps is the distance from the
Strata mark to the first quote on each side. size is an exact decimal
base amount, optionally suffixed by its symbol (for example 0.01 SOL).
Fields§
§market: String§product: PlatformMakerControlProduct§spread_bps: u16§size: String§duration: Option<String>None means ten minutes; otherwise 30s, 10m, 2h, or 1d.
levels: Option<u8>None means three levels.
level_step_bps: Option<u16>None means the same value as spread_bps.
side: PlatformMakerQuickstartSide§async_only: boolTrait Implementations§
Source§impl Clone for PlatformMakerQuickstartRequest
impl Clone for PlatformMakerQuickstartRequest
Source§fn clone(&self) -> PlatformMakerQuickstartRequest
fn clone(&self) -> PlatformMakerQuickstartRequest
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 moreimpl Eq for PlatformMakerQuickstartRequest
impl StructuralPartialEq for PlatformMakerQuickstartRequest
Auto Trait Implementations§
impl Freeze for PlatformMakerQuickstartRequest
impl RefUnwindSafe for PlatformMakerQuickstartRequest
impl Send for PlatformMakerQuickstartRequest
impl Sync for PlatformMakerQuickstartRequest
impl Unpin for PlatformMakerQuickstartRequest
impl UnsafeUnpin for PlatformMakerQuickstartRequest
impl UnwindSafe for PlatformMakerQuickstartRequest
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