pub struct ReadPathGrantCounts {
pub declared: usize,
pub granted: usize,
}Expand description
How many [read_paths] entries a run’s blueprint declared, and how many of
them the user’s config actually granted.
Declaring is not granting: an ungranted entry is inert, and the reads it was meant to allow are refused. Recorded at spawn, because that is when the policy the run enforces is fixed - editing the config afterwards changes nothing for a run already in flight.
Fields§
§declared: usizeEntries the blueprint declares.
granted: usizeEntries the config grants.
Trait Implementations§
Source§impl Clone for ReadPathGrantCounts
impl Clone for ReadPathGrantCounts
Source§fn clone(&self) -> ReadPathGrantCounts
fn clone(&self) -> ReadPathGrantCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReadPathGrantCounts
Source§impl Debug for ReadPathGrantCounts
impl Debug for ReadPathGrantCounts
Source§impl Default for ReadPathGrantCounts
impl Default for ReadPathGrantCounts
Source§fn default() -> ReadPathGrantCounts
fn default() -> ReadPathGrantCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReadPathGrantCounts
impl<'de> Deserialize<'de> for ReadPathGrantCounts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReadPathGrantCounts
Source§impl PartialEq for ReadPathGrantCounts
impl PartialEq for ReadPathGrantCounts
Source§impl Serialize for ReadPathGrantCounts
impl Serialize for ReadPathGrantCounts
impl StructuralPartialEq for ReadPathGrantCounts
Auto Trait Implementations§
impl Freeze for ReadPathGrantCounts
impl RefUnwindSafe for ReadPathGrantCounts
impl Send for ReadPathGrantCounts
impl Sync for ReadPathGrantCounts
impl Unpin for ReadPathGrantCounts
impl UnsafeUnpin for ReadPathGrantCounts
impl UnwindSafe for ReadPathGrantCounts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.