Struct BybitCidCodec
pub struct BybitCidCodec;Expand description
The cid is written into the orderLinkId of the order as a hyphenated UUID (lossless, 128-bit, 36 characters of
digits, letters and dashes, which the exchange allows). The exchange returns it in the order list, in the order
stream and in the fills, which is how a cid comes back. The exchange refuses a second order with the same id while
the first one is working, which is what makes a repeated place visible.
Trait Implementations§
§impl CidCodec for BybitCidCodec
impl CidCodec for BybitCidCodec
§impl Clone for BybitCidCodec
impl Clone for BybitCidCodec
§fn clone(&self) -> BybitCidCodec
fn clone(&self) -> BybitCidCodec
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 Copy for BybitCidCodec
§impl Debug for BybitCidCodec
impl Debug for BybitCidCodec
§impl Default for BybitCidCodec
impl Default for BybitCidCodec
§fn default() -> BybitCidCodec
fn default() -> BybitCidCodec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BybitCidCodec
impl RefUnwindSafe for BybitCidCodec
impl Send for BybitCidCodec
impl Sync for BybitCidCodec
impl Unpin for BybitCidCodec
impl UnsafeUnpin for BybitCidCodec
impl UnwindSafe for BybitCidCodec
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].