pub struct RuntimeOptions { /* private fields */ }Implementations§
Source§impl RuntimeOptions
impl RuntimeOptions
pub fn new() -> Self
pub fn dry_run(&self) -> bool
pub fn set_dry_run(&mut self, dry_run: bool) -> &mut Self
pub fn auto_yes(&self) -> bool
pub fn set_auto_yes(&mut self, auto_yes: bool) -> &mut Self
pub fn force(&self) -> bool
pub fn set_force(&mut self, force: bool) -> &mut Self
pub fn output_envelope(&self) -> EnvelopeMode
pub fn set_output_envelope( &mut self, output_envelope: EnvelopeMode, ) -> &mut Self
pub fn output_format(&self) -> Format
pub fn set_output_format(&mut self, output_format: Format) -> &mut Self
pub fn output_color(&self) -> ColorMode
pub fn set_output_color(&mut self, output_color: ColorMode) -> &mut Self
pub fn log_level(&self) -> Level
pub fn set_log_level(&mut self, log_level: Level) -> &mut Self
Trait Implementations§
Source§impl Clone for RuntimeOptions
impl Clone for RuntimeOptions
Source§fn clone(&self) -> RuntimeOptions
fn clone(&self) -> RuntimeOptions
Returns a duplicate 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 RuntimeOptions
impl Debug for RuntimeOptions
Auto Trait Implementations§
impl Freeze for RuntimeOptions
impl RefUnwindSafe for RuntimeOptions
impl Send for RuntimeOptions
impl Sync for RuntimeOptions
impl Unpin for RuntimeOptions
impl UnsafeUnpin for RuntimeOptions
impl UnwindSafe for RuntimeOptions
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