pub struct UpdateCache {
pub checked_at: f64,
pub current: String,
pub latest: String,
pub source: String,
}Fields§
§checked_at: f64§current: String§latest: String§source: StringImplementations§
Source§impl UpdateCache
impl UpdateCache
pub fn update_available(&self) -> bool
Trait Implementations§
Source§impl Clone for UpdateCache
impl Clone for UpdateCache
Source§fn clone(&self) -> UpdateCache
fn clone(&self) -> UpdateCache
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateCache
impl Debug for UpdateCache
Source§impl PartialEq for UpdateCache
impl PartialEq for UpdateCache
impl StructuralPartialEq for UpdateCache
Auto Trait Implementations§
impl Freeze for UpdateCache
impl RefUnwindSafe for UpdateCache
impl Send for UpdateCache
impl Sync for UpdateCache
impl Unpin for UpdateCache
impl UnsafeUnpin for UpdateCache
impl UnwindSafe for UpdateCache
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