Struct dockertest::LogOptions
source · pub struct LogOptions {
pub action: LogAction,
pub policy: LogPolicy,
pub source: LogSource,
}
Expand description
Specifies how dockertest should handle logging output from this specific container.
Fields§
§action: LogAction
The logging actions to be performed.
policy: LogPolicy
Under which conditions should we perform the log actions?
source: LogSource
Specifies log sources we want to read from container.
Trait Implementations§
source§impl Clone for LogOptions
impl Clone for LogOptions
source§fn clone(&self) -> LogOptions
fn clone(&self) -> LogOptions
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 LogOptions
impl Debug for LogOptions
source§impl Default for LogOptions
impl Default for LogOptions
source§fn default() -> LogOptions
fn default() -> LogOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LogOptions
impl RefUnwindSafe for LogOptions
impl Send for LogOptions
impl Sync for LogOptions
impl Unpin for LogOptions
impl UnwindSafe for LogOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)