Struct check_graphite::graphite::FilteredGraphiteData[][src]

pub struct FilteredGraphiteData<'a> {
    pub original: &'a GraphiteData,
    pub points: Vec<&'a DataPoint>,
}

Represent the data that we received after some filtering operation

Fields

original: &'a GraphiteDatapoints: Vec<&'a DataPoint>

Implementations

impl<'a> FilteredGraphiteData<'a>[src]

pub fn len(&self) -> usize[src]

The number of points that we have

pub fn is_empty(&self) -> bool[src]

If there are any points in the filtered graphite data

pub fn percent_matched(&self) -> f64[src]

The percent of the original points that were included by the filter

This only includes the original points that actually have data

Trait Implementations

impl<'a> Debug for FilteredGraphiteData<'a>[src]

impl<'a> PartialEq<FilteredGraphiteData<'a>> for FilteredGraphiteData<'a>[src]

impl<'a> StructuralPartialEq for FilteredGraphiteData<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for FilteredGraphiteData<'a>

impl<'a> Send for FilteredGraphiteData<'a>

impl<'a> Sync for FilteredGraphiteData<'a>

impl<'a> Unpin for FilteredGraphiteData<'a>

impl<'a> UnwindSafe for FilteredGraphiteData<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.