Struct bollard::container::LogsOptions[][src]

pub struct LogsOptions<T> where
    T: Into<String> + Serialize
{ pub follow: bool, pub stdout: bool, pub stderr: bool, pub since: i64, pub until: i64, pub timestamps: bool, pub tail: T, }

Parameters used in the Logs API

Examples

use bollard::container::LogsOptions;

use std::default::Default;

LogsOptions::<String>{
    stdout: true,
    ..Default::default()
};

Fields

follow: bool

Return the logs as a finite stream.

stdout: bool

Return logs from stdout.

stderr: bool

Return logs from stderr.

since: i64

Only return logs since this time, as a UNIX timestamp.

until: i64

Only return logs before this time, as a UNIX timestamp.

timestamps: bool

Add timestamps to every log line.

tail: T

Only return this number of log lines from the end of the logs. Specify as an integer or all to output all log lines.

Trait Implementations

impl<T: Clone> Clone for LogsOptions<T> where
    T: Into<String> + Serialize
[src]

impl<T: Debug> Debug for LogsOptions<T> where
    T: Into<String> + Serialize
[src]

impl<T: Default> Default for LogsOptions<T> where
    T: Into<String> + Serialize
[src]

impl<T> Serialize for LogsOptions<T> where
    T: Into<String> + Serialize,
    T: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for LogsOptions<T> where
    T: RefUnwindSafe

impl<T> Send for LogsOptions<T> where
    T: Send

impl<T> Sync for LogsOptions<T> where
    T: Sync

impl<T> Unpin for LogsOptions<T> where
    T: Unpin

impl<T> UnwindSafe for LogsOptions<T> where
    T: UnwindSafe

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, 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.