Struct check_graphite::graphite::GraphiteData [−][src]
All the data for one fully-resolved target
Any given graphite api call can result in getting data for multiple targets
Fields
points: Vec<DataPoint>
target: String
Implementations
impl GraphiteData
[src]
pub(crate) fn invalid_points(
&self,
comparator: &Box<dyn Fn(f64) -> bool>
) -> Vec<&DataPoint>
[src]
&self,
comparator: &Box<dyn Fn(f64) -> bool>
) -> Vec<&DataPoint>
References to the points that exist and do not satisfy the comparator
pub(crate) fn last_invalid_points(
&self,
n: usize,
comparator: &Box<dyn Fn(f64) -> bool>
) -> Vec<&DataPoint>
[src]
&self,
n: usize,
comparator: &Box<dyn Fn(f64) -> bool>
) -> Vec<&DataPoint>
Get only invalid points from the end of the list
Trait Implementations
impl Debug for GraphiteData
[src]
impl<'de> Deserialize<'de> for GraphiteData
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl IntoIterator for GraphiteData
[src]
type Item = DataPoint
The type of the elements being iterated over.
type IntoIter = GraphiteIterator
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<GraphiteData> for GraphiteData
[src]
fn eq(&self, other: &GraphiteData) -> bool
[src]
fn ne(&self, other: &GraphiteData) -> bool
[src]
impl StructuralPartialEq for GraphiteData
[src]
Auto Trait Implementations
impl RefUnwindSafe for GraphiteData
impl Send for GraphiteData
impl Sync for GraphiteData
impl Unpin for GraphiteData
impl UnwindSafe for GraphiteData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,