pub struct OptionsPlan {
pub raw: String,
pub tokens: Vec<String>,
pub classified: Vec<ClassifiedOption>,
pub unsupported: Vec<String>,
pub risky: Vec<String>,
pub unknown: Vec<String>,
pub network_model: NetworkModel,
}Expand description
Result of parsing one options string.
Fields§
§raw: String§tokens: Vec<String>§classified: Vec<ClassifiedOption>§unsupported: Vec<String>§risky: Vec<String>§unknown: Vec<String>§network_model: NetworkModelTrait Implementations§
Source§impl Clone for OptionsPlan
impl Clone for OptionsPlan
Source§fn clone(&self) -> OptionsPlan
fn clone(&self) -> OptionsPlan
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 OptionsPlan
impl Debug for OptionsPlan
Source§impl<'de> Deserialize<'de> for OptionsPlan
impl<'de> Deserialize<'de> for OptionsPlan
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 PartialEq for OptionsPlan
impl PartialEq for OptionsPlan
Source§fn eq(&self, other: &OptionsPlan) -> bool
fn eq(&self, other: &OptionsPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OptionsPlan
impl Serialize for OptionsPlan
impl Eq for OptionsPlan
impl StructuralPartialEq for OptionsPlan
Auto Trait Implementations§
impl Freeze for OptionsPlan
impl RefUnwindSafe for OptionsPlan
impl Send for OptionsPlan
impl Sync for OptionsPlan
impl Unpin for OptionsPlan
impl UnsafeUnpin for OptionsPlan
impl UnwindSafe for OptionsPlan
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.