pub enum PlatformMakerCurrentPrepareRequest {
Upsert {Show 13 fields
maker_wallet: String,
enabled: bool,
async_only: bool,
half_spread_bps: u16,
band_step_bps: u16,
max_conf_bps: u16,
max_oracle_dev_bps: u16,
max_oracle_age_secs: u32,
sync_spread_bps: u16,
max_exposure_base_atoms: String,
bid_depth_base_atoms: Vec<String>,
ask_depth_base_atoms: Vec<String>,
valid_until_slot: String,
},
Cancel {
maker_wallet: String,
},
}Expand description
One maker-owned Current mutation. Current is parameterized around the market’s live Strata mark and therefore has no recenter action.
Variants§
Trait Implementations§
Source§impl Clone for PlatformMakerCurrentPrepareRequest
impl Clone for PlatformMakerCurrentPrepareRequest
Source§fn clone(&self) -> PlatformMakerCurrentPrepareRequest
fn clone(&self) -> PlatformMakerCurrentPrepareRequest
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<'de> Deserialize<'de> for PlatformMakerCurrentPrepareRequest
impl<'de> Deserialize<'de> for PlatformMakerCurrentPrepareRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformMakerCurrentPrepareRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformMakerCurrentPrepareRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformMakerCurrentPrepareRequest
Source§impl Serialize for PlatformMakerCurrentPrepareRequest
impl Serialize for PlatformMakerCurrentPrepareRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PlatformMakerCurrentPrepareRequest
Auto Trait Implementations§
impl Freeze for PlatformMakerCurrentPrepareRequest
impl RefUnwindSafe for PlatformMakerCurrentPrepareRequest
impl Send for PlatformMakerCurrentPrepareRequest
impl Sync for PlatformMakerCurrentPrepareRequest
impl Unpin for PlatformMakerCurrentPrepareRequest
impl UnsafeUnpin for PlatformMakerCurrentPrepareRequest
impl UnwindSafe for PlatformMakerCurrentPrepareRequest
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