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