pub struct OdrlConstraint {
pub left_operand: String,
pub operator: ConstraintOperator,
pub right_operand: String,
}Expand description
An ODRL constraint on a rule.
Fields§
§left_operand: StringThe left operand (e.g., "purpose", "dateTime", "count").
operator: ConstraintOperatorThe comparison operator.
right_operand: StringThe right operand value (string representation).
Trait Implementations§
Source§impl Clone for OdrlConstraint
impl Clone for OdrlConstraint
Source§fn clone(&self) -> OdrlConstraint
fn clone(&self) -> OdrlConstraint
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 OdrlConstraint
impl Debug for OdrlConstraint
Source§impl<'de> Deserialize<'de> for OdrlConstraint
impl<'de> Deserialize<'de> for OdrlConstraint
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
Auto Trait Implementations§
impl Freeze for OdrlConstraint
impl RefUnwindSafe for OdrlConstraint
impl Send for OdrlConstraint
impl Sync for OdrlConstraint
impl Unpin for OdrlConstraint
impl UnsafeUnpin for OdrlConstraint
impl UnwindSafe for OdrlConstraint
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