pub struct UpdateTransactionRunner11 {
pub user_id: Uuid,
pub transaction_id: Uuid,
pub splits: Option<Vec<FinanceEntity>>,
pub post_date: Option<DateTime<Utc>>,
pub enter_date: Option<DateTime<Utc>>,
pub note: Option<String>,
pub prices: Option<Vec<FinanceEntity>>,
pub tags: Option<HashMap<String, FinanceEntity>>,
}Fields§
§user_id: Uuid§transaction_id: Uuid§splits: Option<Vec<FinanceEntity>>§post_date: Option<DateTime<Utc>>§enter_date: Option<DateTime<Utc>>§note: Option<String>§prices: Option<Vec<FinanceEntity>>Implementations§
Source§impl UpdateTransactionRunner11
impl UpdateTransactionRunner11
pub fn splits(self, value: Vec<FinanceEntity>) -> UpdateTransactionRunner11
pub fn post_date(self, value: DateTime<Utc>) -> UpdateTransactionRunner11
pub fn enter_date(self, value: DateTime<Utc>) -> UpdateTransactionRunner11
pub fn note(self, value: String) -> UpdateTransactionRunner11
pub fn prices(self, value: Vec<FinanceEntity>) -> UpdateTransactionRunner11
pub async fn run(self) -> Result<Option<CmdResult>, CmdError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpdateTransactionRunner11
impl RefUnwindSafe for UpdateTransactionRunner11
impl Send for UpdateTransactionRunner11
impl Sync for UpdateTransactionRunner11
impl Unpin for UpdateTransactionRunner11
impl UnsafeUnpin for UpdateTransactionRunner11
impl UnwindSafe for UpdateTransactionRunner11
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