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_custom_data(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_custom_data(self) -> Builder<'a>
pub fn has_custom_data(&self) -> bool
pub fn set_instrument(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_instrument(self) -> Builder<'a>
pub fn has_instrument(&self) -> bool
pub fn set_instruments(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_instruments(self) -> Builder<'a>
pub fn has_instruments(&self) -> bool
pub fn set_book(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_book(self) -> Builder<'a>
pub fn has_book(&self) -> bool
pub fn set_quotes(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_quotes(self) -> Builder<'a>
pub fn has_quotes(&self) -> bool
pub fn set_trades(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_trades(self) -> Builder<'a>
pub fn has_trades(&self) -> bool
pub fn set_bars(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_bars(self) -> Builder<'a>
pub fn has_bars(&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