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