Struct nu_protocol::hir::NamedArguments [−][src]
pub struct NamedArguments {
pub named: IndexMap<String, NamedValue>,
}Fields
named: IndexMap<String, NamedValue>Implementations
pub fn insert_optional(
&mut self,
name: impl Into<String>,
flag_span: Span,
expr: Option<SpannedExpression>
)
pub fn insert_mandatory(
&mut self,
name: impl Into<String>,
flag_span: Span,
expr: SpannedExpression
)
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Compare two dictionaries for sort ordering
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
fn refined_pretty_debug(
&self,
refine: PrettyDebugRefineKind,
source: &str
) -> DebugDocBuilder
Auto Trait Implementations
impl RefUnwindSafe for NamedArguments
impl Send for NamedArguments
impl Sync for NamedArguments
impl Unpin for NamedArguments
impl UnwindSafe for NamedArguments
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
