pub struct PackageAuthorityView<'a> {
pub source: &'a HostAuthorityView<'a>,
pub current_package: &'a PackageRevision,
pub grants: &'a [PackageReviewGrant],
pub contributor_subjects: &'a [&'a str],
pub known_destination_lineage_complete: bool,
}Expand description
Borrowed host-current view, never deserialized from a client request.
Fields§
§source: &'a HostAuthorityView<'a>§current_package: &'a PackageRevision§grants: &'a [PackageReviewGrant]§contributor_subjects: &'a [&'a str]All known canonical target contributors, not only the last writer.
known_destination_lineage_complete: boolAuto Trait Implementations§
impl<'a> Freeze for PackageAuthorityView<'a>
impl<'a> RefUnwindSafe for PackageAuthorityView<'a>
impl<'a> Send for PackageAuthorityView<'a>
impl<'a> Sync for PackageAuthorityView<'a>
impl<'a> Unpin for PackageAuthorityView<'a>
impl<'a> UnsafeUnpin for PackageAuthorityView<'a>
impl<'a> UnwindSafe for PackageAuthorityView<'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