pub enum OptionalOrWithDefaultValueParameter {
Optional {
name: VariableIdentifier,
type_reference: Option<TypeReference>,
},
WithDefaultValue {
name: WithComment<VariableField<VariableFieldInSourceCode>>,
type_reference: Option<TypeReference>,
value: Box<Expression>,
},
}
Variants§
Trait Implementations§
source§impl Clone for OptionalOrWithDefaultValueParameter
impl Clone for OptionalOrWithDefaultValueParameter
source§fn clone(&self) -> OptionalOrWithDefaultValueParameter
fn clone(&self) -> OptionalOrWithDefaultValueParameter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<OptionalOrWithDefaultValueParameter> for OptionalOrWithDefaultValueParameter
impl PartialEq<OptionalOrWithDefaultValueParameter> for OptionalOrWithDefaultValueParameter
source§fn eq(&self, other: &OptionalOrWithDefaultValueParameter) -> bool
fn eq(&self, other: &OptionalOrWithDefaultValueParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.