pub enum FormSubmit {
ConfigSet {
key: String,
value: String,
},
Report {
kind: ReportKind,
from: String,
to: String,
chart: String,
},
CommodityCreate {
symbol: String,
name: String,
},
CommodityConvert {
amount_num_denom: String,
amount_str: String,
from: String,
from_label: String,
to: String,
to_label: String,
},
AccountCreate {
name: String,
parent: Option<String>,
},
TransactionCreate {
note: String,
date: String,
splits: Vec<LogicalSplitInput>,
},
TransactionEdit {
id: String,
note: String,
date: String,
splits: Vec<LogicalSplitInput>,
},
AccountTag {
account_id: String,
name: String,
value: String,
},
TransactionTag {
transaction_id: String,
name: String,
value: String,
},
}Expand description
The validated, ready-to-dispatch payload produced by validate.
Variants§
ConfigSet
Report
CommodityCreate
CommodityConvert
Fields
AccountCreate
TransactionCreate
TransactionEdit
AccountTag
TransactionTag
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FormSubmit
impl RefUnwindSafe for FormSubmit
impl Send for FormSubmit
impl Sync for FormSubmit
impl Unpin for FormSubmit
impl UnsafeUnpin for FormSubmit
impl UnwindSafe for FormSubmit
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