pub struct StructuralPredicates {
pub predicates: HashMap<String, Value>,
}Fields§
§predicates: HashMap<String, Value>Implementations§
Source§impl StructuralPredicates
impl StructuralPredicates
pub fn matches(&self, request: &AuthorityRequest) -> bool
pub fn specificity_score( &self, profile: &SpecificityProfile, ) -> SpecificityVector
Trait Implementations§
Source§impl Clone for StructuralPredicates
impl Clone for StructuralPredicates
Source§fn clone(&self) -> StructuralPredicates
fn clone(&self) -> StructuralPredicates
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 StructuralPredicates
impl Debug for StructuralPredicates
Source§impl<'de> Deserialize<'de> for StructuralPredicates
impl<'de> Deserialize<'de> for StructuralPredicates
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 StructuralPredicates
impl RefUnwindSafe for StructuralPredicates
impl Send for StructuralPredicates
impl Sync for StructuralPredicates
impl Unpin for StructuralPredicates
impl UnsafeUnpin for StructuralPredicates
impl UnwindSafe for StructuralPredicates
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