pub enum Argument {
String(String),
Rational(Rational64),
Uuid(Uuid),
Data(Vec<u8>),
FinanceEntity(FinanceEntity),
FinanceEntities(Vec<FinanceEntity>),
DateTime(DateTime<Utc>),
}Variants§
String(String)
Rational(Rational64)
Uuid(Uuid)
Data(Vec<u8>)
FinanceEntity(FinanceEntity)
FinanceEntities(Vec<FinanceEntity>)
DateTime(DateTime<Utc>)
Trait Implementations§
Source§impl From<Argument> for Rational64
impl From<Argument> for Rational64
Source§impl From<FinanceEntity> for Argument
impl From<FinanceEntity> for Argument
Source§fn from(value: FinanceEntity) -> Self
fn from(value: FinanceEntity) -> Self
Converts to this type from the input type.
Source§impl From<Ratio<i64>> for Argument
impl From<Ratio<i64>> for Argument
Source§fn from(value: Rational64) -> Self
fn from(value: Rational64) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnsafeUnpin for Argument
impl UnwindSafe for Argument
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