pub enum PlatformMakerStrandPrepareRequest {
Upsert {
maker_wallet: String,
enabled: bool,
async_only: bool,
sync_spread_ticks: u16,
mid_price_atoms: String,
max_exposure_base_lots: String,
bid_offsets_ticks: Vec<u16>,
ask_offsets_ticks: Vec<u16>,
bid_sizes_base_lots: Vec<String>,
ask_sizes_base_lots: Vec<String>,
valid_until_slot: String,
},
Recenter {
maker_wallet: String,
new_mid_price_atoms: String,
valid_until_slot: String,
},
SetEnabled {
maker_wallet: String,
enabled: bool,
},
Cancel {
maker_wallet: String,
},
}Expand description
One maker-owned Strand mutation. Amounts that may exceed JavaScript’s safe integer range remain canonical unsigned decimal strings on the wire.
Variants§
Trait Implementations§
Source§impl Clone for PlatformMakerStrandPrepareRequest
impl Clone for PlatformMakerStrandPrepareRequest
Source§fn clone(&self) -> PlatformMakerStrandPrepareRequest
fn clone(&self) -> PlatformMakerStrandPrepareRequest
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 PlatformMakerStrandPrepareRequest
impl<'de> Deserialize<'de> for PlatformMakerStrandPrepareRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformMakerStrandPrepareRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformMakerStrandPrepareRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformMakerStrandPrepareRequest
Source§impl Serialize for PlatformMakerStrandPrepareRequest
impl Serialize for PlatformMakerStrandPrepareRequest
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 PlatformMakerStrandPrepareRequest
Auto Trait Implementations§
impl Freeze for PlatformMakerStrandPrepareRequest
impl RefUnwindSafe for PlatformMakerStrandPrepareRequest
impl Send for PlatformMakerStrandPrepareRequest
impl Sync for PlatformMakerStrandPrepareRequest
impl Unpin for PlatformMakerStrandPrepareRequest
impl UnsafeUnpin for PlatformMakerStrandPrepareRequest
impl UnwindSafe for PlatformMakerStrandPrepareRequest
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