pub struct GrantRef {
pub id: Hash,
pub epoch: u64,
pub presence_requirement: Option<PresenceRequirement>,
}Expand description
A grant the Authorizer matched, with the namespace epoch it was checked against.
Fields§
§id: HashGrant id.
epoch: u64Namespace grant epoch at authorization time.
presence_requirement: Option<PresenceRequirement>The ref-state constraint for an ANY change with only c or f.
Trait Implementations§
impl Eq for GrantRef
impl StructuralPartialEq for GrantRef
Auto Trait Implementations§
impl Freeze for GrantRef
impl RefUnwindSafe for GrantRef
impl Send for GrantRef
impl Sync for GrantRef
impl Unpin for GrantRef
impl UnsafeUnpin for GrantRef
impl UnwindSafe for GrantRef
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