pub enum PolicyEvaluationOutcome {
Unspecified,
Allow,
Deny,
NoMatch,
Unknown(String),
}Expand description
antigravity.localharness.PolicyEvaluationOutcome
Variants§
Unspecified
Allow
Deny
NoMatch
Unknown(String)
A value this crate does not know about yet.
The harness is versioned independently of this crate, so an unrecognised enum value is treated as forward compatibility rather than as a decode error.
Implementations§
Trait Implementations§
Source§impl Clone for PolicyEvaluationOutcome
impl Clone for PolicyEvaluationOutcome
Source§fn clone(&self) -> PolicyEvaluationOutcome
fn clone(&self) -> PolicyEvaluationOutcome
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 moreSource§impl Debug for PolicyEvaluationOutcome
impl Debug for PolicyEvaluationOutcome
Source§impl Default for PolicyEvaluationOutcome
impl Default for PolicyEvaluationOutcome
Source§fn default() -> PolicyEvaluationOutcome
fn default() -> PolicyEvaluationOutcome
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyEvaluationOutcome
impl<'de> Deserialize<'de> for PolicyEvaluationOutcome
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PolicyEvaluationOutcome
impl Display for PolicyEvaluationOutcome
impl Eq for PolicyEvaluationOutcome
Source§impl Hash for PolicyEvaluationOutcome
impl Hash for PolicyEvaluationOutcome
Source§impl PartialEq for PolicyEvaluationOutcome
impl PartialEq for PolicyEvaluationOutcome
Source§impl Serialize for PolicyEvaluationOutcome
impl Serialize for PolicyEvaluationOutcome
impl StructuralPartialEq for PolicyEvaluationOutcome
Auto Trait Implementations§
impl Freeze for PolicyEvaluationOutcome
impl RefUnwindSafe for PolicyEvaluationOutcome
impl Send for PolicyEvaluationOutcome
impl Sync for PolicyEvaluationOutcome
impl Unpin for PolicyEvaluationOutcome
impl UnsafeUnpin for PolicyEvaluationOutcome
impl UnwindSafe for PolicyEvaluationOutcome
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