pub struct GetHistogramsBuilder { /* private fields */ }Expand description
Builder for GetHistograms.
Implementations§
Source§impl GetHistogramsBuilder
impl GetHistogramsBuilder
Sourcepub fn query<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn query<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Requested substring in name. Only histograms which have query as a substring in their name are extracted. An empty or absent query returns all histograms.
Sourcepub fn delta<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn delta<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, retrieve delta since last delta call.
Sourcepub fn build(&self) -> Result<GetHistograms, GetHistogramsBuilderError>
pub fn build(&self) -> Result<GetHistograms, GetHistogramsBuilderError>
Trait Implementations§
Source§impl Clone for GetHistogramsBuilder
impl Clone for GetHistogramsBuilder
Source§fn clone(&self) -> GetHistogramsBuilder
fn clone(&self) -> GetHistogramsBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetHistogramsBuilder
impl RefUnwindSafe for GetHistogramsBuilder
impl Send for GetHistogramsBuilder
impl Sync for GetHistogramsBuilder
impl Unpin for GetHistogramsBuilder
impl UnsafeUnpin for GetHistogramsBuilder
impl UnwindSafe for GetHistogramsBuilder
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