pub enum Specific {
Vwap(VwapParameters),
Pov(PovParameters),
Twap(TwapParameters),
Slicer(SlicerParameters),
Peg(PegParameters),
Iceberg(IcebergParameters),
}Variants§
Vwap(VwapParameters)
Pov(PovParameters)
Twap(TwapParameters)
Slicer(SlicerParameters)
Peg(PegParameters)
Iceberg(IcebergParameters)
Implementations§
Source§impl Specific
impl Specific
Sourcepub fn merge(
field: &mut Option<Specific>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Specific>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Specific
impl<'de> Deserialize<'de> for Specific
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 Specific
impl StructuralPartialEq for Specific
Auto Trait Implementations§
impl Freeze for Specific
impl RefUnwindSafe for Specific
impl Send for Specific
impl Sync for Specific
impl Unpin for Specific
impl UnsafeUnpin for Specific
impl UnwindSafe for Specific
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