pub struct OwnedArgSpec {
pub args: Vec<ArgSpec>,
pub source: String,
}Expand description
Owned counterpart of ParsedArgSpec for runtime-loaded specs (e.g. YAML).
Fields§
§args: Vec<ArgSpec>§source: StringTrait Implementations§
Source§impl Clone for OwnedArgSpec
impl Clone for OwnedArgSpec
Source§fn clone(&self) -> OwnedArgSpec
fn clone(&self) -> OwnedArgSpec
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 OwnedArgSpec
impl Debug for OwnedArgSpec
impl Eq for OwnedArgSpec
Source§impl From<ParsedArgSpec> for OwnedArgSpec
impl From<ParsedArgSpec> for OwnedArgSpec
Source§fn from(value: ParsedArgSpec) -> OwnedArgSpec
fn from(value: ParsedArgSpec) -> OwnedArgSpec
Converts to this type from the input type.
Source§impl PartialEq for OwnedArgSpec
impl PartialEq for OwnedArgSpec
Source§fn eq(&self, other: &OwnedArgSpec) -> bool
fn eq(&self, other: &OwnedArgSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OwnedArgSpec
Auto Trait Implementations§
impl Freeze for OwnedArgSpec
impl RefUnwindSafe for OwnedArgSpec
impl Send for OwnedArgSpec
impl Sync for OwnedArgSpec
impl Unpin for OwnedArgSpec
impl UnsafeUnpin for OwnedArgSpec
impl UnwindSafe for OwnedArgSpec
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.