#[non_exhaustive]pub struct SearchStatusBuilder { /* private fields */ }
Expand description
A builder for SearchStatus
.
Implementations§
source§impl SearchStatusBuilder
impl SearchStatusBuilder
sourcepub fn timems(self, input: i64) -> Self
pub fn timems(self, input: i64) -> Self
How long it took to process the request, in milliseconds.
sourcepub fn set_timems(self, input: Option<i64>) -> Self
pub fn set_timems(self, input: Option<i64>) -> Self
How long it took to process the request, in milliseconds.
sourcepub fn get_timems(&self) -> &Option<i64>
pub fn get_timems(&self) -> &Option<i64>
How long it took to process the request, in milliseconds.
sourcepub fn build(self) -> SearchStatus
pub fn build(self) -> SearchStatus
Consumes the builder and constructs a SearchStatus
.
Trait Implementations§
source§impl Clone for SearchStatusBuilder
impl Clone for SearchStatusBuilder
source§fn clone(&self) -> SearchStatusBuilder
fn clone(&self) -> SearchStatusBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SearchStatusBuilder
impl Debug for SearchStatusBuilder
source§impl Default for SearchStatusBuilder
impl Default for SearchStatusBuilder
source§fn default() -> SearchStatusBuilder
fn default() -> SearchStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SearchStatusBuilder
impl PartialEq for SearchStatusBuilder
source§fn eq(&self, other: &SearchStatusBuilder) -> bool
fn eq(&self, other: &SearchStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchStatusBuilder
Auto Trait Implementations§
impl Freeze for SearchStatusBuilder
impl RefUnwindSafe for SearchStatusBuilder
impl Send for SearchStatusBuilder
impl Sync for SearchStatusBuilder
impl Unpin for SearchStatusBuilder
impl UnwindSafe for SearchStatusBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.