pub struct ExchangeRateOutput {
pub id: String,
pub base_currency: String,
pub quote_currency: String,
pub rate: f64,
pub source: String,
pub rate_at: String,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§base_currency: String§quote_currency: String§rate: f64§source: String§rate_at: String§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for ExchangeRateOutput
impl Clone for ExchangeRateOutput
Source§fn clone(&self) -> ExchangeRateOutput
fn clone(&self) -> ExchangeRateOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FromNapiValue for ExchangeRateOutput
impl FromNapiValue for ExchangeRateOutput
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl Serialize for ExchangeRateOutput
impl Serialize for ExchangeRateOutput
Source§impl ToNapiValue for ExchangeRateOutput
impl ToNapiValue for ExchangeRateOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: ExchangeRateOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: ExchangeRateOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for ExchangeRateOutput
impl TypeName for ExchangeRateOutput
Source§impl ValidateNapiValue for ExchangeRateOutput
impl ValidateNapiValue for ExchangeRateOutput
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for ExchangeRateOutput
impl RefUnwindSafe for ExchangeRateOutput
impl Send for ExchangeRateOutput
impl Sync for ExchangeRateOutput
impl Unpin for ExchangeRateOutput
impl UnsafeUnpin for ExchangeRateOutput
impl UnwindSafe for ExchangeRateOutput
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