pub enum StructureMapGroupRuleTargetParameterValue {
Id(String),
String(String),
Boolean(bool),
Integer(i32),
Decimal(f64),
Date(Date),
Time(Time),
DateTime(DateTime),
}
Expand description
Choice of types for the value[x] field in StructureMapGroupRuleTargetParameter
Variants§
Id(String)
Variant accepting the Id type.
String(String)
Variant accepting the String type.
Boolean(bool)
Variant accepting the Boolean type.
Integer(i32)
Variant accepting the Integer type.
Decimal(f64)
Variant accepting the Decimal type.
Date(Date)
Variant accepting the Date type.
Time(Time)
Variant accepting the Time type.
DateTime(DateTime)
Variant accepting the DateTime type.
Trait Implementations§
Source§impl Clone for StructureMapGroupRuleTargetParameterValue
impl Clone for StructureMapGroupRuleTargetParameterValue
Source§fn clone(&self) -> StructureMapGroupRuleTargetParameterValue
fn clone(&self) -> StructureMapGroupRuleTargetParameterValue
Returns a duplicate 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<'de> Deserialize<'de> for StructureMapGroupRuleTargetParameterValue
impl<'de> Deserialize<'de> for StructureMapGroupRuleTargetParameterValue
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StructureMapGroupRuleTargetParameterValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StructureMapGroupRuleTargetParameterValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StructureMapGroupRuleTargetParameterValue
impl PartialEq for StructureMapGroupRuleTargetParameterValue
Source§fn eq(&self, other: &StructureMapGroupRuleTargetParameterValue) -> bool
fn eq(&self, other: &StructureMapGroupRuleTargetParameterValue) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for StructureMapGroupRuleTargetParameterValue
impl Serialize for StructureMapGroupRuleTargetParameterValue
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StructureMapGroupRuleTargetParameterValue
Auto Trait Implementations§
impl Freeze for StructureMapGroupRuleTargetParameterValue
impl RefUnwindSafe for StructureMapGroupRuleTargetParameterValue
impl Send for StructureMapGroupRuleTargetParameterValue
impl Sync for StructureMapGroupRuleTargetParameterValue
impl Unpin for StructureMapGroupRuleTargetParameterValue
impl UnwindSafe for StructureMapGroupRuleTargetParameterValue
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