pub struct EligibilityRule {
pub id: Uuid,
pub product_offering_id: Uuid,
pub conditions: Vec<EligibilityCondition>,
pub rule_type: EligibilityRuleType,
}Expand description
Eligibility rule for a product offering
Fields§
§id: Uuid§product_offering_id: Uuid§conditions: Vec<EligibilityCondition>§rule_type: EligibilityRuleTypeTrait Implementations§
Source§impl Clone for EligibilityRule
impl Clone for EligibilityRule
Source§fn clone(&self) -> EligibilityRule
fn clone(&self) -> EligibilityRule
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 EligibilityRule
impl Debug for EligibilityRule
Source§impl<'de> Deserialize<'de> for EligibilityRule
impl<'de> Deserialize<'de> for EligibilityRule
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 EligibilityRule
impl RefUnwindSafe for EligibilityRule
impl Send for EligibilityRule
impl Sync for EligibilityRule
impl Unpin for EligibilityRule
impl UnsafeUnpin for EligibilityRule
impl UnwindSafe for EligibilityRule
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