pub struct WorkflowYourPagesReport;Expand description
Your pages in a workflow — pages the signed-in user submitted that are still in flight (in progress or sent back for changes).
Trait Implementations§
Source§impl Default for WorkflowYourPagesReport
impl Default for WorkflowYourPagesReport
Source§impl Report for WorkflowYourPagesReport
impl Report for WorkflowYourPagesReport
Source§fn description(&self) -> Option<&'static str>
fn description(&self) -> Option<&'static str>
Optional one-line blurb shown under the heading.
Source§fn columns(&self) -> Vec<ReportColumn>
fn columns(&self) -> Vec<ReportColumn>
The table columns, left to right.
Source§fn rows<'life0, 'life1, 'async_trait>(
&'life0 self,
pool: &'life1 Pool,
user_id: Option<i64>,
) -> Pin<Box<dyn Future<Output = Vec<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn rows<'life0, 'life1, 'async_trait>(
&'life0 self,
pool: &'life1 Pool,
user_id: Option<i64>,
) -> Pin<Box<dyn Future<Output = Vec<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Build the rows. Each row is a JSON object keyed by column key;
an optional
edit_url key links the first cell. user_id is
the signed-in user (for “your …”-style reports); None for an
unauthenticated context.Auto Trait Implementations§
impl Forget for WorkflowYourPagesReport
impl Freeze for WorkflowYourPagesReport
impl RefUnwindSafe for WorkflowYourPagesReport
impl Send for WorkflowYourPagesReport
impl Sync for WorkflowYourPagesReport
impl Unpin for WorkflowYourPagesReport
impl UnsafeUnpin for WorkflowYourPagesReport
impl UnwindSafe for WorkflowYourPagesReport
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> 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 moreCreates a shared type from an unshared type.