Struct bollard::container::LogsOptions
source · pub struct LogsOptions {
pub follow: bool,
pub stdout: bool,
pub stderr: bool,
pub since: i64,
pub until: i64,
pub timestamps: bool,
pub tail: String,
}
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: String
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§
source§impl Clone for LogsOptions
impl Clone for LogsOptions
source§fn clone(&self) -> LogsOptions
fn clone(&self) -> LogsOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LogsOptions
impl Debug for LogsOptions
source§impl Default for LogsOptions
impl Default for LogsOptions
source§fn default() -> LogsOptions
fn default() -> LogsOptions
Returns the “default value” for a type. Read more