pub struct GetEventsHistogramRequest {
pub start_inclusive: Option<Timestamp>,
pub end_exclusive: Option<Timestamp>,
pub filter_query: Option<HistogramFilterQuery>,
pub archived_statuses: Vec<i32>,
pub num_bins: Option<i32>,
pub event_limit: Option<i32>,
}Fields§
§start_inclusive: Option<Timestamp>§end_exclusive: Option<Timestamp>§filter_query: Option<HistogramFilterQuery>§archived_statuses: Vec<i32>§num_bins: Option<i32>§event_limit: Option<i32>Implementations§
Source§impl GetEventsHistogramRequest
impl GetEventsHistogramRequest
Sourcepub fn archived_statuses(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<ArchivedStatus>>
pub fn archived_statuses( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<ArchivedStatus>>
Returns an iterator which yields the valid enum values contained in archived_statuses.
Sourcepub fn push_archived_statuses(&mut self, value: ArchivedStatus)
pub fn push_archived_statuses(&mut self, value: ArchivedStatus)
Appends the provided enum value to archived_statuses.
Sourcepub fn num_bins(&self) -> i32
pub fn num_bins(&self) -> i32
Returns the value of num_bins, or the default value if num_bins is unset.
Sourcepub fn event_limit(&self) -> i32
pub fn event_limit(&self) -> i32
Returns the value of event_limit, or the default value if event_limit is unset.
Trait Implementations§
Source§impl Clone for GetEventsHistogramRequest
impl Clone for GetEventsHistogramRequest
Source§fn clone(&self) -> GetEventsHistogramRequest
fn clone(&self) -> GetEventsHistogramRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetEventsHistogramRequest
impl Debug for GetEventsHistogramRequest
Source§impl Default for GetEventsHistogramRequest
impl Default for GetEventsHistogramRequest
Source§impl Message for GetEventsHistogramRequest
impl Message for GetEventsHistogramRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.impl StructuralPartialEq for GetEventsHistogramRequest
Auto Trait Implementations§
impl Freeze for GetEventsHistogramRequest
impl RefUnwindSafe for GetEventsHistogramRequest
impl Send for GetEventsHistogramRequest
impl Sync for GetEventsHistogramRequest
impl Unpin for GetEventsHistogramRequest
impl UnsafeUnpin for GetEventsHistogramRequest
impl UnwindSafe for GetEventsHistogramRequest
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request