pub struct GrantSpec {
pub grant_id: String,
pub scope: String,
pub permissions: Permissions,
pub authorization_epoch: u64,
pub not_before: u64,
pub not_after: u64,
}Expand description
Inputs signed into a role-key grant.
Fields§
§grant_id: StringStable unique grant identifier.
scope: StringExact access scope.
permissions: PermissionsGranted operations.
Current authorization epoch.
not_before: u64First valid Unix second.
not_after: u64Last valid Unix second.
Trait Implementations§
impl Eq for GrantSpec
impl StructuralPartialEq for GrantSpec
Auto Trait Implementations§
impl Freeze for GrantSpec
impl RefUnwindSafe for GrantSpec
impl Send for GrantSpec
impl Sync for GrantSpec
impl Unpin for GrantSpec
impl UnsafeUnpin for GrantSpec
impl UnwindSafe for GrantSpec
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