pub struct CacheLine {
pub exchange_rate_results: Vec<ExchangeRateResult>,
/* private fields */
}Fields§
§exchange_rate_results: Vec<ExchangeRateResult>Implementations§
Source§impl CacheLine
impl CacheLine
pub fn is_valid(&self) -> bool
pub fn is_valid_at(&self, now_cet: DateTime<FixedOffset>) -> bool
pub fn new(exchange_rate_results: Vec<ExchangeRateResult>) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CacheLine
impl<'de> Deserialize<'de> for CacheLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CacheLine
Auto Trait Implementations§
impl Freeze for CacheLine
impl RefUnwindSafe for CacheLine
impl Send for CacheLine
impl Sync for CacheLine
impl Unpin for CacheLine
impl UnwindSafe for CacheLine
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more