pub struct NumericExpression<'a> {
pub object_id: Option<u32>,
pub offset: usize,
pub name: &'a str,
pub parameter_index: Option<u32>,
pub qualifier: Option<&'a str>,
pub unit: ExpressionUnit,
pub expression: &'a str,
pub value: Option<f64>,
}Expand description
One numeric expression decoded from an exactly bounded OM entity.
Fields§
§object_id: Option<u32>Persistent identity of the containing OM entity, when indexed.
offset: usizeAbsolute byte offset of the expression text.
name: &'a strNX parameter name.
parameter_index: Option<u32>Decimal identifier following the leading p, when present.
qualifier: Option<&'a str>Name component following the parameter index and underscore.
unit: ExpressionUnitDeclared native unit.
expression: &'a strExact expression text following the serialized name separator.
value: Option<f64>Finite value when the expression is context-free arithmetic.
Trait Implementations§
Source§impl<'a> Clone for NumericExpression<'a>
impl<'a> Clone for NumericExpression<'a>
Source§fn clone(&self) -> NumericExpression<'a>
fn clone(&self) -> NumericExpression<'a>
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<'a> Debug for NumericExpression<'a>
impl<'a> Debug for NumericExpression<'a>
Source§impl<'a> PartialEq for NumericExpression<'a>
impl<'a> PartialEq for NumericExpression<'a>
impl<'a> StructuralPartialEq for NumericExpression<'a>
Auto Trait Implementations§
impl<'a> Freeze for NumericExpression<'a>
impl<'a> RefUnwindSafe for NumericExpression<'a>
impl<'a> Send for NumericExpression<'a>
impl<'a> Sync for NumericExpression<'a>
impl<'a> Unpin for NumericExpression<'a>
impl<'a> UnsafeUnpin for NumericExpression<'a>
impl<'a> UnwindSafe for NumericExpression<'a>
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