pub enum OwnerCondition {
Bypass,
Eq {
field: String,
value: Value,
},
Refuse(String),
}Expand description
The server-owned owner condition derived for one subscribe request — seam-neutral.
Variants§
Bypass
The principal holds a bypass role — full visibility, no added condition.
Eq
A server-owned equality condition: the principal sees only rows where
field == value.
Fields
Refuse(String)
Fail-closed: the policy applies but the enriched identity is unresolvable (no enrichment configured, or a NULL/absent field) — refuse the subscription.
Trait Implementations§
Source§impl Clone for OwnerCondition
impl Clone for OwnerCondition
Source§fn clone(&self) -> OwnerCondition
fn clone(&self) -> OwnerCondition
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 OwnerCondition
impl Debug for OwnerCondition
impl Eq for OwnerCondition
Source§impl PartialEq for OwnerCondition
impl PartialEq for OwnerCondition
impl StructuralPartialEq for OwnerCondition
Auto Trait Implementations§
impl Freeze for OwnerCondition
impl RefUnwindSafe for OwnerCondition
impl Send for OwnerCondition
impl Sync for OwnerCondition
impl Unpin for OwnerCondition
impl UnsafeUnpin for OwnerCondition
impl UnwindSafe for OwnerCondition
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.