pub struct DerivationOperand {
pub ref_id: String,
pub label: OperandLabel,
pub role: Option<OperandRole>,
pub entity: Option<String>,
pub value: Option<InterpretedValue>,
pub raw: Option<String>,
pub reason: Option<String>,
}Fields§
§ref_id: String§label: OperandLabel§role: Option<OperandRole>§entity: Option<String>§value: Option<InterpretedValue>§raw: Option<String>§reason: Option<String>Implementations§
Source§impl DerivationOperand
impl DerivationOperand
pub fn included(ref_id: impl Into<String>, value: InterpretedValue) -> Self
pub fn with_role(self, role: OperandRole) -> Self
pub fn with_entity(self, entity: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for DerivationOperand
impl Clone for DerivationOperand
Source§fn clone(&self) -> DerivationOperand
fn clone(&self) -> DerivationOperand
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 Debug for DerivationOperand
impl Debug for DerivationOperand
Source§impl<'de> Deserialize<'de> for DerivationOperand
impl<'de> Deserialize<'de> for DerivationOperand
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
Source§impl PartialEq for DerivationOperand
impl PartialEq for DerivationOperand
Source§impl Serialize for DerivationOperand
impl Serialize for DerivationOperand
impl StructuralPartialEq for DerivationOperand
Auto Trait Implementations§
impl Freeze for DerivationOperand
impl RefUnwindSafe for DerivationOperand
impl Send for DerivationOperand
impl Sync for DerivationOperand
impl Unpin for DerivationOperand
impl UnsafeUnpin for DerivationOperand
impl UnwindSafe for DerivationOperand
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