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,
}
Expand description
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
Returns the “default value” for a type. Read more
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more