pub struct Unattended;Expand description
Approves every batch. For a consumer whose client asks its user itself.
Trait Implementations§
Source§impl Approval for Unattended
impl Approval for Unattended
fn approve<'life0, 'async_trait>(
&'life0 self,
_summary: String,
) -> Pin<Box<dyn Future<Output = Result<bool, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn approve_in_app<'life0, 'async_trait>(
&'life0 self,
_summary: String,
) -> Pin<Box<dyn Future<Output = Result<bool, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn approve_in_app<'life0, 'async_trait>(
&'life0 self,
_summary: String,
) -> Pin<Box<dyn Future<Output = Result<bool, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Requires a fresh decision in the app. External/unattended consumers
cannot grant it by inheriting their normal approval behavior.
Auto Trait Implementations§
impl Forget for Unattended
impl Freeze for Unattended
impl Move for Unattended
impl RefUnwindSafe for Unattended
impl Send for Unattended
impl Sync for Unattended
impl Unpin for Unattended
impl UnsafeUnpin for Unattended
impl UnwindSafe for Unattended
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