#[non_exhaustive]pub enum Answerable {
HookOrPerson,
PersonOnly,
}Expand description
Who may answer a question a policy asks.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HookOrPerson
PersonOnly
The deployment’s managed layer asks it: a hook’s approve does not answer it.
Trait Implementations§
Source§impl Clone for Answerable
impl Clone for Answerable
impl Copy for Answerable
Source§impl Debug for Answerable
impl Debug for Answerable
impl Eq for Answerable
Source§impl PartialEq for Answerable
impl PartialEq for Answerable
impl StructuralPartialEq for Answerable
Auto Trait Implementations§
impl Forget for Answerable
impl Freeze for Answerable
impl Move for Answerable
impl RefUnwindSafe for Answerable
impl Send for Answerable
impl Sync for Answerable
impl Unpin for Answerable
impl UnsafeUnpin for Answerable
impl UnwindSafe for Answerable
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