pub struct Builder<'a> { /* private fields */ }Implementations§
Source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize>
pub fn set_quote(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_quote(self) -> Builder<'a>
pub fn has_quote(&self) -> bool
pub fn set_trade(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_trade(self) -> Builder<'a>
pub fn has_trade(&self) -> bool
pub fn set_bar(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_bar(self) -> Builder<'a>
pub fn has_bar(&self) -> bool
pub fn set_mark_price(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_mark_price(self) -> Builder<'a>
pub fn has_mark_price(&self) -> bool
pub fn set_index_price(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_index_price(self) -> Builder<'a>
pub fn has_index_price(&self) -> bool
pub fn set_instrument_close(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_instrument_close(self) -> Builder<'a>
pub fn has_instrument_close(&self) -> bool
pub fn set_instrument_status(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_instrument_status(self) -> Builder<'a>
pub fn has_instrument_status(&self) -> bool
pub fn set_funding_rate(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_funding_rate(self) -> Builder<'a>
pub fn has_funding_rate(&self) -> bool
pub fn set_order_book_delta(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_order_book_delta(self) -> Builder<'a>
pub fn has_order_book_delta(&self) -> bool
pub fn set_order_book_deltas(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_order_book_deltas(self) -> Builder<'a>
pub fn has_order_book_deltas(&self) -> bool
pub fn set_order_book_depth10(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_order_book_depth10(self) -> Builder<'a>
pub fn has_order_book_depth10(&self) -> bool
pub fn which(self) -> Result<WhichBuilder<'a>, NotInSchema>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Builder<'a>
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
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<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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more