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_initialized(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_initialized(self) -> Builder<'a>
pub fn has_initialized(&self) -> bool
pub fn set_denied(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_denied(self) -> Builder<'a>
pub fn has_denied(&self) -> bool
pub fn set_emulated(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_emulated(self) -> Builder<'a>
pub fn has_emulated(&self) -> bool
pub fn set_released(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_released(self) -> Builder<'a>
pub fn has_released(&self) -> bool
pub fn set_submitted(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_submitted(self) -> Builder<'a>
pub fn has_submitted(&self) -> bool
pub fn set_accepted(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_accepted(self) -> Builder<'a>
pub fn has_accepted(&self) -> bool
pub fn set_rejected(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_rejected(self) -> Builder<'a>
pub fn has_rejected(&self) -> bool
pub fn set_canceled(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_canceled(self) -> Builder<'a>
pub fn has_canceled(&self) -> bool
pub fn set_expired(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_expired(self) -> Builder<'a>
pub fn has_expired(&self) -> bool
pub fn set_triggered(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_triggered(self) -> Builder<'a>
pub fn has_triggered(&self) -> bool
pub fn set_pending_update(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_pending_update(self) -> Builder<'a>
pub fn has_pending_update(&self) -> bool
pub fn set_pending_cancel(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_pending_cancel(self) -> Builder<'a>
pub fn has_pending_cancel(&self) -> bool
pub fn set_modify_rejected(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_modify_rejected(self) -> Builder<'a>
pub fn has_modify_rejected(&self) -> bool
pub fn set_cancel_rejected(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_cancel_rejected(self) -> Builder<'a>
pub fn has_cancel_rejected(&self) -> bool
pub fn set_updated(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_updated(self) -> Builder<'a>
pub fn has_updated(&self) -> bool
pub fn set_filled(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_filled(self) -> Builder<'a>
pub fn has_filled(&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