pub struct PropertyRequirement {
pub binding: BindingReference,
pub value_type: Option<ValueType>,
pub usage: Option<PropertyUsage>,
pub cardinality: Option<Cardinality>,
pub subject_types: BTreeSet<BindingReference>,
pub target_types: Option<BTreeSet<BindingReference>>,
pub allowed_qualifiers: BTreeSet<BindingReference>,
}Expand description
A partial requirement for a property binding. None scalar fields are unconstrained.
Fields§
§binding: BindingReference§value_type: Option<ValueType>§usage: Option<PropertyUsage>§cardinality: Option<Cardinality>§subject_types: BTreeSet<BindingReference>§target_types: Option<BTreeSet<BindingReference>>§allowed_qualifiers: BTreeSet<BindingReference>Trait Implementations§
Source§impl Clone for PropertyRequirement
impl Clone for PropertyRequirement
Source§fn clone(&self) -> PropertyRequirement
fn clone(&self) -> PropertyRequirement
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 PropertyRequirement
impl Debug for PropertyRequirement
impl Eq for PropertyRequirement
Source§impl PartialEq for PropertyRequirement
impl PartialEq for PropertyRequirement
impl StructuralPartialEq for PropertyRequirement
Auto Trait Implementations§
impl Freeze for PropertyRequirement
impl RefUnwindSafe for PropertyRequirement
impl Send for PropertyRequirement
impl Sync for PropertyRequirement
impl Unpin for PropertyRequirement
impl UnsafeUnpin for PropertyRequirement
impl UnwindSafe for PropertyRequirement
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,
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.