[][src]Struct krill::commons::api::CommandHistoryCriteria

pub struct CommandHistoryCriteria { /* fields omitted */ }

Used to limit the scope when finding commands to show in the history.

Implementations

impl CommandHistoryCriteria[src]

pub fn set_exclude(&mut self, labels: &[&str])[src]

pub fn set_after(&mut self, timestamp: i64)[src]

pub fn set_before(&mut self, timestamp: i64)[src]

pub fn set_rows(&mut self, rows: usize)[src]

pub fn set_offset(&mut self, offset: usize)[src]

pub fn matches_timestamp_secs(&self, stamp: i64) -> bool[src]

pub fn matches_label(&self, label: &Label) -> bool[src]

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

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

Trait Implementations

impl Clone for CommandHistoryCriteria[src]

impl Debug for CommandHistoryCriteria[src]

impl Default for CommandHistoryCriteria[src]

impl<'de> Deserialize<'de> for CommandHistoryCriteria[src]

impl Eq for CommandHistoryCriteria[src]

impl PartialEq<CommandHistoryCriteria> for CommandHistoryCriteria[src]

impl Serialize for CommandHistoryCriteria[src]

impl StructuralEq for CommandHistoryCriteria[src]

impl StructuralPartialEq for CommandHistoryCriteria[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.