Struct mz_ore::cli::DefaultTrue
source · pub struct DefaultTrue {
pub value: bool,
}
Available on crate feature
cli
only.Expand description
A command-line argument that defaults to true
that can be falsified with --flag=false
Fields§
§value: bool
The value for this flag
Trait Implementations§
source§impl Clone for DefaultTrue
impl Clone for DefaultTrue
source§fn clone(&self) -> DefaultTrue
fn clone(&self) -> DefaultTrue
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 DefaultTrue
impl Debug for DefaultTrue
source§impl Default for DefaultTrue
impl Default for DefaultTrue
source§impl Display for DefaultTrue
impl Display for DefaultTrue
Auto Trait Implementations§
impl RefUnwindSafe for DefaultTrue
impl Send for DefaultTrue
impl Sync for DefaultTrue
impl Unpin for DefaultTrue
impl UnwindSafe for DefaultTrue
Blanket Implementations§
source§impl<T> DisplayExt for Twhere
T: Display,
impl<T> DisplayExt for Twhere
T: Display,
source§fn to_string_alt(&self) -> String
fn to_string_alt(&self) -> String
Formats an object with the “alternative” format (
{:#}
) and returns it.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request