Struct primitives::sentry::FetchedAnalytics
source · pub struct FetchedAnalytics {
pub time: DateTime<Utc>,
pub value: FetchedMetric,
pub segment: Option<String>,
}
Fields
time: DateTime<Utc>
value: FetchedMetric
segment: Option<String>
Trait Implementations
sourceimpl Clone for FetchedAnalytics
impl Clone for FetchedAnalytics
sourcefn clone(&self) -> FetchedAnalytics
fn clone(&self) -> FetchedAnalytics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FetchedAnalytics
impl Debug for FetchedAnalytics
sourceimpl<'de> Deserialize<'de> for FetchedAnalytics
impl<'de> Deserialize<'de> for FetchedAnalytics
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<(&AnalyticsQuery, &Row)> for FetchedAnalytics
impl From<(&AnalyticsQuery, &Row)> for FetchedAnalytics
This implementation handles the conversion of a fetched query Row
to FetchedAnalytics
FetchedAnalytics
requires additional context, apart from Row
, using the AnalyticsQuery
.
sourceimpl PartialEq<FetchedAnalytics> for FetchedAnalytics
impl PartialEq<FetchedAnalytics> for FetchedAnalytics
sourcefn eq(&self, other: &FetchedAnalytics) -> bool
fn eq(&self, other: &FetchedAnalytics) -> bool
sourceimpl Serialize for FetchedAnalytics
impl Serialize for FetchedAnalytics
impl Eq for FetchedAnalytics
impl StructuralEq for FetchedAnalytics
impl StructuralPartialEq for FetchedAnalytics
Auto Trait Implementations
impl RefUnwindSafe for FetchedAnalytics
impl Send for FetchedAnalytics
impl Sync for FetchedAnalytics
impl Unpin for FetchedAnalytics
impl UnwindSafe for FetchedAnalytics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more