pub enum PreTurnResultDecision {
Unspecified,
Allow,
Deny,
Unknown(String),
}Expand description
antigravity.localharness.PreTurnResult.Decision
Variants§
Unspecified
Allow
Deny
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 PreTurnResultDecision
impl Clone for PreTurnResultDecision
Source§fn clone(&self) -> PreTurnResultDecision
fn clone(&self) -> PreTurnResultDecision
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 PreTurnResultDecision
impl Debug for PreTurnResultDecision
Source§impl Default for PreTurnResultDecision
impl Default for PreTurnResultDecision
Source§fn default() -> PreTurnResultDecision
fn default() -> PreTurnResultDecision
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreTurnResultDecision
impl<'de> Deserialize<'de> for PreTurnResultDecision
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 PreTurnResultDecision
impl Display for PreTurnResultDecision
impl Eq for PreTurnResultDecision
Source§impl Hash for PreTurnResultDecision
impl Hash for PreTurnResultDecision
Source§impl PartialEq for PreTurnResultDecision
impl PartialEq for PreTurnResultDecision
Source§impl Serialize for PreTurnResultDecision
impl Serialize for PreTurnResultDecision
impl StructuralPartialEq for PreTurnResultDecision
Auto Trait Implementations§
impl Freeze for PreTurnResultDecision
impl RefUnwindSafe for PreTurnResultDecision
impl Send for PreTurnResultDecision
impl Sync for PreTurnResultDecision
impl Unpin for PreTurnResultDecision
impl UnsafeUnpin for PreTurnResultDecision
impl UnwindSafe for PreTurnResultDecision
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