pub enum CheckKey {
Store(StoreCheckKey),
PublicName {
object: Object,
relation: RelationName,
user: User,
},
Public {
object: Object,
relation: Relation,
user: User,
},
}Expand description
Immutable key for recursion tracking.
Variants§
Store(StoreCheckKey)
Store-native identifier key for relationships already interned in the compact snapshot.
PublicName
Validated public object/relation-name key used when a segment-native compact key is not available, such as checkpoint-plus-delta views.
Fields
§
relation: RelationNameValidated relation or permission name being checked.
Public
Owned public-model fallback when at least one identifier is absent from the snapshot.
Trait Implementations§
impl Eq for CheckKey
impl StructuralPartialEq for CheckKey
Auto Trait Implementations§
impl Freeze for CheckKey
impl RefUnwindSafe for CheckKey
impl Send for CheckKey
impl Sync for CheckKey
impl Unpin for CheckKey
impl UnsafeUnpin for CheckKey
impl UnwindSafe for CheckKey
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