pub struct ParsedArgs {
pub attrs: HashMap<String, String>,
pub tags: Vec<String>,
}Expand description
Parsed args from a raw args string like “work, release, status: done”. Parts with ‘:’ become attrs; bare words become tags.
Fields§
§attrs: HashMap<String, String>Trait Implementations§
Source§impl Clone for ParsedArgs
impl Clone for ParsedArgs
Source§fn clone(&self) -> ParsedArgs
fn clone(&self) -> ParsedArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParsedArgs
impl Debug for ParsedArgs
Source§impl Default for ParsedArgs
impl Default for ParsedArgs
Source§fn default() -> ParsedArgs
fn default() -> ParsedArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParsedArgs
impl RefUnwindSafe for ParsedArgs
impl Send for ParsedArgs
impl Sync for ParsedArgs
impl Unpin for ParsedArgs
impl UnsafeUnpin for ParsedArgs
impl UnwindSafe for ParsedArgs
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