#[non_exhaustive]pub struct SuggestStatusBuilder { /* private fields */ }
Expand description
A builder for SuggestStatus
.
Implementations§
source§impl SuggestStatusBuilder
impl SuggestStatusBuilder
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) -> SuggestStatus
pub fn build(self) -> SuggestStatus
Consumes the builder and constructs a SuggestStatus
.
Trait Implementations§
source§impl Clone for SuggestStatusBuilder
impl Clone for SuggestStatusBuilder
source§fn clone(&self) -> SuggestStatusBuilder
fn clone(&self) -> SuggestStatusBuilder
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 SuggestStatusBuilder
impl Debug for SuggestStatusBuilder
source§impl Default for SuggestStatusBuilder
impl Default for SuggestStatusBuilder
source§fn default() -> SuggestStatusBuilder
fn default() -> SuggestStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SuggestStatusBuilder
impl PartialEq for SuggestStatusBuilder
source§fn eq(&self, other: &SuggestStatusBuilder) -> bool
fn eq(&self, other: &SuggestStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SuggestStatusBuilder
Auto Trait Implementations§
impl Freeze for SuggestStatusBuilder
impl RefUnwindSafe for SuggestStatusBuilder
impl Send for SuggestStatusBuilder
impl Sync for SuggestStatusBuilder
impl Unpin for SuggestStatusBuilder
impl UnwindSafe for SuggestStatusBuilder
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.