pub struct ReviewGrant<'a> {
pub id: &'a str,
pub project_id: &'a str,
pub document_id: &'a str,
pub reviewer_subject: &'a str,
pub admission_ref: &'a str,
pub valid_from_unix: u64,
pub valid_until_unix: u64,
pub revoked: bool,
}Expand description
Explicit review authority. Steward/contributor roles never imply review.
Fields§
§id: &'a str§project_id: &'a str§document_id: &'a str§reviewer_subject: &'a str§admission_ref: &'a str§valid_from_unix: u64§valid_until_unix: u64§revoked: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ReviewGrant<'a>
impl<'a> RefUnwindSafe for ReviewGrant<'a>
impl<'a> Send for ReviewGrant<'a>
impl<'a> Sync for ReviewGrant<'a>
impl<'a> Unpin for ReviewGrant<'a>
impl<'a> UnsafeUnpin for ReviewGrant<'a>
impl<'a> UnwindSafe for ReviewGrant<'a>
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