[][src]Struct vapix::v3::system_log::Entries

pub struct Entries { /* fields omitted */ }

A set of system log entries returned from the API.

Implementations

impl Entries[src]

pub fn new(buffer: String, generated_at: DateTime<FixedOffset>) -> Self[src]

Instantiate Entries from a response String and the timestamp at which it was produced by the API.

generated_at is sourced from the HTTP Date: response header. It is used to help interpret certain incomplete timestamp formats.

pub fn iter(&self) -> EntriesIter<'_>

Notable traits for EntriesIter<'a>

impl<'a> Iterator for EntriesIter<'a> type Item = Result<Entry<'a>, EntryParseError>;
[src]

Iterate over the Entries.

Trait Implementations

impl Clone for Entries[src]

impl Debug for Entries[src]

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

impl<'a> IntoIterator for &'a Entries[src]

type Item = Result<Entry<'a>, EntryParseError>

The type of the elements being iterated over.

type IntoIter = EntriesIter<'a>

Which kind of iterator are we turning this into?

impl PartialEq<Entries> for Entries[src]

impl Serialize for Entries[src]

impl StructuralPartialEq for Entries[src]

Auto Trait Implementations

impl RefUnwindSafe for Entries

impl Send for Entries

impl Sync for Entries

impl Unpin for Entries

impl UnwindSafe for Entries

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<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,