#[non_exhaustive]pub struct SessionStatisticsBuilder { /* private fields */ }Expand description
A builder for SessionStatistics.
Implementations§
Source§impl SessionStatisticsBuilder
impl SessionStatisticsBuilder
Sourcepub fn dpu_execution_in_millis(self, input: i64) -> Self
pub fn dpu_execution_in_millis(self, input: i64) -> Self
The data processing unit execution time for a session in milliseconds.
Sourcepub fn set_dpu_execution_in_millis(self, input: Option<i64>) -> Self
pub fn set_dpu_execution_in_millis(self, input: Option<i64>) -> Self
The data processing unit execution time for a session in milliseconds.
Sourcepub fn get_dpu_execution_in_millis(&self) -> &Option<i64>
pub fn get_dpu_execution_in_millis(&self) -> &Option<i64>
The data processing unit execution time for a session in milliseconds.
Sourcepub fn build(self) -> SessionStatistics
pub fn build(self) -> SessionStatistics
Consumes the builder and constructs a SessionStatistics.
Trait Implementations§
Source§impl Clone for SessionStatisticsBuilder
impl Clone for SessionStatisticsBuilder
Source§fn clone(&self) -> SessionStatisticsBuilder
fn clone(&self) -> SessionStatisticsBuilder
Returns a duplicate 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 SessionStatisticsBuilder
impl Debug for SessionStatisticsBuilder
Source§impl Default for SessionStatisticsBuilder
impl Default for SessionStatisticsBuilder
Source§fn default() -> SessionStatisticsBuilder
fn default() -> SessionStatisticsBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for SessionStatisticsBuilder
impl PartialEq for SessionStatisticsBuilder
impl StructuralPartialEq for SessionStatisticsBuilder
Auto Trait Implementations§
impl Freeze for SessionStatisticsBuilder
impl RefUnwindSafe for SessionStatisticsBuilder
impl Send for SessionStatisticsBuilder
impl Sync for SessionStatisticsBuilder
impl Unpin for SessionStatisticsBuilder
impl UnsafeUnpin for SessionStatisticsBuilder
impl UnwindSafe for SessionStatisticsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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 moreCreates a shared type from an unshared type.