pub enum RouteCtx {
None,
Reports {
kind: ReportKind,
chart: String,
},
Config {
key: String,
},
Mutation {
refresh: ViewId,
},
FormOptions {
seq: u64,
source: FormOptionsSource,
},
TransactionEdit,
ConvertQuery {
amount_str: String,
from_label: String,
to_label: String,
},
}Expand description
Per-reply context a routed eval reply needs to be parsed correctly.
Variants§
None
Reports
Config
Mutation
A create mutation — on success, refresh the given list tab.
FormOptions
Fetch of select options to populate a currently-open form.
seq correlates the reply with the form instance that requested it;
a late reply for a closed/superseded form is dropped.
TransactionEdit
get-transaction-detail reply — opens the transaction-edit form on success.
ConvertQuery
A convert-amount query reply — formats a status message, no view refresh.
Auto Trait Implementations§
impl Freeze for RouteCtx
impl RefUnwindSafe for RouteCtx
impl Send for RouteCtx
impl Sync for RouteCtx
impl Unpin for RouteCtx
impl UnsafeUnpin for RouteCtx
impl UnwindSafe for RouteCtx
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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