pub enum OwnerApprovalNeed {
Unjudged,
NotNeeded,
Ask(OwnerApprovalRequest),
}Expand description
What a tool says about the owner’s approval for one call.
Variants§
Unjudged
The tool has no opinion: the approval policy’s allow rules and mode decide.
NotNeeded
The tool judged the call and it needs no approval.
Ask(OwnerApprovalRequest)
Ask the owner with this request (unless a grant covers it).
Trait Implementations§
Source§impl Clone for OwnerApprovalNeed
impl Clone for OwnerApprovalNeed
Source§fn clone(&self) -> OwnerApprovalNeed
fn clone(&self) -> OwnerApprovalNeed
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 OwnerApprovalNeed
impl Debug for OwnerApprovalNeed
Source§impl PartialEq for OwnerApprovalNeed
impl PartialEq for OwnerApprovalNeed
impl StructuralPartialEq for OwnerApprovalNeed
Auto Trait Implementations§
impl Forget for OwnerApprovalNeed
impl Freeze for OwnerApprovalNeedwhere
*const u8 is !null: Freeze,
PhantomData<EffectKey>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const ApprovalCard is !null: Freeze,
PhantomData<ApprovalCard>: Freeze,
impl Move for OwnerApprovalNeed
impl RefUnwindSafe for OwnerApprovalNeed
impl Send for OwnerApprovalNeed
impl Sync for OwnerApprovalNeed
impl Unpin for OwnerApprovalNeed
impl UnsafeUnpin for OwnerApprovalNeedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<EffectKey>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ApprovalCard is !null: UnsafeUnpin,
PhantomData<ApprovalCard>: UnsafeUnpin,
impl UnwindSafe for OwnerApprovalNeed
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more