pub enum Eligibility {
Eligible(Reason),
Ineligible(IneligibilityReason),
}Expand description
Eligibility outcome produced by play-safety policy evaluation.
Variants§
Eligible(Reason)
Eligible outcome in the automation authority or human-review policy.
Ineligible(IneligibilityReason)
Ineligible outcome in the automation authority or human-review policy.
Trait Implementations§
Source§impl Clone for Eligibility
impl Clone for Eligibility
Source§fn clone(&self) -> Eligibility
fn clone(&self) -> Eligibility
Returns a duplicate of the value. Read more
1.0.0 · 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 Eligibility
impl Debug for Eligibility
Source§impl<'de> Deserialize<'de> for Eligibility
impl<'de> Deserialize<'de> for Eligibility
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
Source§impl PartialEq for Eligibility
impl PartialEq for Eligibility
Source§impl Serialize for Eligibility
impl Serialize for Eligibility
impl Copy for Eligibility
impl Eq for Eligibility
impl StructuralPartialEq for Eligibility
Auto Trait Implementations§
impl Freeze for Eligibility
impl RefUnwindSafe for Eligibility
impl Send for Eligibility
impl Sync for Eligibility
impl Unpin for Eligibility
impl UnsafeUnpin for Eligibility
impl UnwindSafe for Eligibility
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