pub struct Cache {
pub schema: String,
pub checked_at: u64,
pub current_version: String,
pub current_sha: Option<String>,
pub available: Option<Candidate>,
pub error: Option<String>,
}Fields§
§schema: String§checked_at: u64Unix seconds of the last attempt, successful or not.
current_version: StringThe binary the result is about. A different binary ignores it.
current_sha: Option<String>§available: Option<Candidate>§error: Option<String>Last failure, kept for update --check; never printed at startup.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cache
impl<'de> Deserialize<'de> for Cache
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 Eq for Cache
impl StructuralPartialEq for Cache
Auto Trait Implementations§
impl Freeze for Cache
impl RefUnwindSafe for Cache
impl Send for Cache
impl Sync for Cache
impl Unpin for Cache
impl UnsafeUnpin for Cache
impl UnwindSafe for Cache
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