pub struct ListTransactionsRunner1 {
pub user_id: Uuid,
pub account: Option<Uuid>,
pub limit: Option<i64>,
pub offset: Option<i64>,
pub date_from: Option<DateTime<Utc>>,
pub date_to: Option<DateTime<Utc>>,
}Fields§
§user_id: Uuid§account: Option<Uuid>§limit: Option<i64>§offset: Option<i64>§date_from: Option<DateTime<Utc>>§date_to: Option<DateTime<Utc>>Implementations§
Source§impl ListTransactionsRunner1
impl ListTransactionsRunner1
pub fn account(self, value: Uuid) -> ListTransactionsRunner1
pub fn limit(self, value: i64) -> ListTransactionsRunner1
pub fn offset(self, value: i64) -> ListTransactionsRunner1
pub fn date_from(self, value: DateTime<Utc>) -> ListTransactionsRunner1
pub fn date_to(self, value: DateTime<Utc>) -> ListTransactionsRunner1
pub async fn run(self) -> Result<Option<CmdResult>, CmdError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ListTransactionsRunner1
impl RefUnwindSafe for ListTransactionsRunner1
impl Send for ListTransactionsRunner1
impl Sync for ListTransactionsRunner1
impl Unpin for ListTransactionsRunner1
impl UnsafeUnpin for ListTransactionsRunner1
impl UnwindSafe for ListTransactionsRunner1
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