pub struct Grant {
pub granted: BTreeSet<String>,
pub exclusions: BTreeSet<String>,
}Expand description
What the publisher held of a script’s declared scopes, taken at publish time.
Fields§
§granted: BTreeSet<String>The declared scopes the publisher held: all of them, since a publish declaring more
is refused. For a declared FAMILY (prefix*, which only a SPARQL script’s derived
authority carries: crate::sparql::CAP_READ_GRAPH), the publisher’s own grants
under it, each one, or the family itself when the publisher was root.
exclusions: BTreeSet<String>Every exclusion the publisher’s capability carried, which every run carries too.
Trait Implementations§
impl Eq for Grant
impl StructuralPartialEq for Grant
Auto Trait Implementations§
impl Freeze for Grant
impl RefUnwindSafe for Grant
impl Send for Grant
impl Sync for Grant
impl Unpin for Grant
impl UnsafeUnpin for Grant
impl UnwindSafe for Grant
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