pub struct ClaimPattern {
pub subject: Option<Ref>,
pub predicate: Option<Symbol>,
pub object: Option<Ref>,
pub include_revoked: bool,
}Expand description
Query pattern matched against stored Claims; None fields are wildcards.
Fields§
§subject: Option<Ref>Subject to match, or any subject when None.
predicate: Option<Symbol>Predicate to match, or any predicate when None.
object: Option<Ref>Object to match, or any object when None.
include_revoked: boolWhether revoked claims are included in results.
Implementations§
Source§impl ClaimPattern
impl ClaimPattern
Trait Implementations§
Source§impl Clone for ClaimPattern
impl Clone for ClaimPattern
Source§fn clone(&self) -> ClaimPattern
fn clone(&self) -> ClaimPattern
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 ClaimPattern
impl Debug for ClaimPattern
Source§impl Default for ClaimPattern
impl Default for ClaimPattern
Source§fn default() -> ClaimPattern
fn default() -> ClaimPattern
Returns the “default value” for a type. Read more
impl Eq for ClaimPattern
Source§impl PartialEq for ClaimPattern
impl PartialEq for ClaimPattern
Source§fn eq(&self, other: &ClaimPattern) -> bool
fn eq(&self, other: &ClaimPattern) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClaimPattern
Auto Trait Implementations§
impl Freeze for ClaimPattern
impl RefUnwindSafe for ClaimPattern
impl Send for ClaimPattern
impl Sync for ClaimPattern
impl Unpin for ClaimPattern
impl UnsafeUnpin for ClaimPattern
impl UnwindSafe for ClaimPattern
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