pub struct SamplingMetadata {
pub samples_read_count: Option<i64>,
pub sampling_space_size: Option<i64>,
}
Expand description
If this report results is sampled, this describes the percentage of events used in this report. Sampling is the practice of analyzing a subset of all data in order to uncover the meaningful information in the larger data set.
This type is not used in any activity, and only used as part of another schema.
Fields§
§samples_read_count: Option<i64>
The total number of events read in this sampled report for a date range. This is the size of the subset this property’s data that was analyzed in this report.
sampling_space_size: Option<i64>
The total number of events present in this property’s data that could have been analyzed in this report for a date range. Sampling uncovers the meaningful information about the larger data set, and this is the size of the larger data set. To calculate the percentage of available data that was used in this report, compute samplesReadCount/samplingSpaceSize
.
Trait Implementations§
Source§impl Clone for SamplingMetadata
impl Clone for SamplingMetadata
Source§fn clone(&self) -> SamplingMetadata
fn clone(&self) -> SamplingMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SamplingMetadata
impl Debug for SamplingMetadata
Source§impl Default for SamplingMetadata
impl Default for SamplingMetadata
Source§fn default() -> SamplingMetadata
fn default() -> SamplingMetadata
Source§impl<'de> Deserialize<'de> for SamplingMetadata
impl<'de> Deserialize<'de> for SamplingMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for SamplingMetadata
impl Serialize for SamplingMetadata
impl Part for SamplingMetadata
Auto Trait Implementations§
impl Freeze for SamplingMetadata
impl RefUnwindSafe for SamplingMetadata
impl Send for SamplingMetadata
impl Sync for SamplingMetadata
impl Unpin for SamplingMetadata
impl UnwindSafe for SamplingMetadata
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
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>
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>
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 more