pub struct LogOpts {
pub follow: bool,
pub tail: Option<u64>,
pub since: Option<DateTime<Utc>>,
pub timestamps: bool,
}Expand description
Options for log retrieval.
Fields§
§follow: boolFollow log output (stream).
tail: Option<u64>Number of recent lines to return.
since: Option<DateTime<Utc>>Only return logs since this timestamp.
timestamps: boolInclude timestamps in log output.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogOpts
impl RefUnwindSafe for LogOpts
impl Send for LogOpts
impl Sync for LogOpts
impl Unpin for LogOpts
impl UnsafeUnpin for LogOpts
impl UnwindSafe for LogOpts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more