Skip to main content

ApprovalSource

Trait ApprovalSource 

Source
pub trait ApprovalSource: Send + Sync {
    // Required method
    fn pending(&self) -> Result<Vec<Approval>>;
}

Required Methods§

Source

fn pending(&self) -> Result<Vec<Approval>>

Snapshot of every approval still in status='pending'. Empty vec when none. Errors fall back to empty in callers (the stripe just stays hidden).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§