pub struct Read {
pub policies: BTreeMap<String, PolicyRecord>,
pub bindings: BTreeMap<String, PolicyBinding>,
pub declared: HashMap<String, ParsedPolicy>,
pub ids: BTreeMap<String, Vec<String>>,
pub spares_held_tokens: Vec<String>,
pub failures: Vec<BuildFailure>,
}Expand description
What read made of one observation.
Fields§
§policies: BTreeMap<String, PolicyRecord>Every policy record the reader accepted, by record key.
bindings: BTreeMap<String, PolicyBinding>Every binding record the reader accepted, by record key.
declared: HashMap<String, ParsedPolicy>Every declaration, by the id declarations minted for it.
ids: BTreeMap<String, Vec<String>>The ids each policy record was declared under, by record key.
spares_held_tokens: Vec<String>Every policy record that denies a client before the write and not
at it, by record key — see Declared::spares_held_tokens.
failures: Vec<BuildFailure>Every record refused so far.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Read
impl RefUnwindSafe for Read
impl Send for Read
impl Sync for Read
impl Unpin for Read
impl UnsafeUnpin for Read
impl UnwindSafe for Read
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more