Struct investments::db::models::NewCurrencyRate [−][src]
pub struct NewCurrencyRate<'a> {
pub currency: &'a str,
pub date: Date,
pub price: Option<String>,
}
Fields
currency: &'a str
date: Date
price: Option<String>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for NewCurrencyRate<'a>
impl<'a> Send for NewCurrencyRate<'a>
impl<'a> Sync for NewCurrencyRate<'a>
impl<'a> Unpin for NewCurrencyRate<'a>
impl<'a> UnwindSafe for NewCurrencyRate<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more