pub struct DumpArgs(TinyBitSet);
Expand description
Collection of the DumpOption
s a user has set.
Separates the cli and the internal api. Users set DumpOption
s in the
cli, internally we use the snake-case version of the option as a method on
this type. This is so we can rename the outer UI without breaking code or
even combine options together.
Tuple Fields§
§0: TinyBitSet
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DumpArgs
impl<'de> Deserialize<'de> for DumpArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<DumpOption> for DumpArgs
impl From<DumpOption> for DumpArgs
Source§fn from(value: DumpOption) -> Self
fn from(value: DumpOption) -> Self
Converts to this type from the input type.
Source§impl From<ParseableDumpArgs> for DumpArgs
impl From<ParseableDumpArgs> for DumpArgs
Source§fn from(value: ParseableDumpArgs) -> Self
fn from(value: ParseableDumpArgs) -> Self
Converts to this type from the input type.
Source§impl FromIterator<DumpOption> for DumpArgs
impl FromIterator<DumpOption> for DumpArgs
Source§fn from_iter<T: IntoIterator<Item = DumpOption>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = DumpOption>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl Freeze for DumpArgs
impl RefUnwindSafe for DumpArgs
impl Send for DumpArgs
impl Sync for DumpArgs
impl Unpin for DumpArgs
impl UnwindSafe for DumpArgs
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more