pub struct RuleResultValue {Show 16 fields
pub result: Option<String>,
pub measure: Option<BTreeMap<String, Decimal>>,
pub ratio: Option<BTreeMap<String, Decimal>>,
pub number: Option<Decimal>,
pub boolean: Option<bool>,
pub text: Option<String>,
pub date: Option<SemanticDateTime>,
pub time: Option<SemanticTime>,
pub calendar: Option<CalendarResult>,
pub unit: Option<String>,
pub range: Option<Box<RangeResult>>,
pub spec: Option<Box<SpecResult>>,
pub row: Option<RowReference>,
pub list: Option<Vec<RuleResultValue>>,
pub fields: Option<IndexMap<String, RuleResultValue>>,
pub reference: Option<String>,
}Fields§
§result: Option<String>§measure: Option<BTreeMap<String, Decimal>>§ratio: Option<BTreeMap<String, Decimal>>§number: Option<Decimal>§boolean: Option<bool>§text: Option<String>§date: Option<SemanticDateTime>§time: Option<SemanticTime>§calendar: Option<CalendarResult>§unit: Option<String>§range: Option<Box<RangeResult>>§spec: Option<Box<SpecResult>>§row: Option<RowReference>§list: Option<Vec<RuleResultValue>>§fields: Option<IndexMap<String, RuleResultValue>>§reference: Option<String>Show only: on a source-row field whose value is a reference; the input key of the referenced data in the spec declaring the list.
Trait Implementations§
Source§impl Clone for RuleResultValue
impl Clone for RuleResultValue
Source§impl Debug for RuleResultValue
impl Debug for RuleResultValue
Source§impl Default for RuleResultValue
impl Default for RuleResultValue
Source§impl<'de> Deserialize<'de> for RuleResultValue
impl<'de> Deserialize<'de> for RuleResultValue
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
impl Eq for RuleResultValue
Source§impl From<&RuleResultValue> for RuleResultValue
impl From<&RuleResultValue> for RuleResultValue
Source§fn from(value: &DomainRuleResultValue) -> Self
fn from(value: &DomainRuleResultValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuleResultValue
impl PartialEq for RuleResultValue
Source§impl Serialize for RuleResultValue
impl Serialize for RuleResultValue
impl StructuralPartialEq for RuleResultValue
Auto Trait Implementations§
impl Freeze for RuleResultValue
impl RefUnwindSafe for RuleResultValue
impl Send for RuleResultValue
impl Sync for RuleResultValue
impl Unpin for RuleResultValue
impl UnsafeUnpin for RuleResultValue
impl UnwindSafe for RuleResultValue
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.