pub enum Consent {
Granted,
Withheld,
}Expand description
Explicit user consent to run an analyzer.
Consent is part of the request, not of a backend, so no backend can be
wired up in a way that skips it. For roteiro security ingest the user’s
invocation naming a report file is the consent; a backend that fetches
assets or executes a container will need an interactive grant instead.
Variants§
Granted
The user explicitly asked for this run.
Withheld
No consent was given; the run must not proceed.
Trait Implementations§
impl Copy for Consent
impl Eq for Consent
impl StructuralPartialEq for Consent
Auto Trait Implementations§
impl Freeze for Consent
impl RefUnwindSafe for Consent
impl Send for Consent
impl Sync for Consent
impl Unpin for Consent
impl UnsafeUnpin for Consent
impl UnwindSafe for Consent
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,
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.