pub struct UpdateCheckResult {
pub model_id: i64,
pub update_available: bool,
pub details: Option<UpdateDetails>,
}Expand description
Result of checking for model updates.
Fields§
§model_id: i64Model ID that was checked.
update_available: boolWhether an update is available.
details: Option<UpdateDetails>Details about what changed (if update available).
Trait Implementations§
Source§impl Clone for UpdateCheckResult
impl Clone for UpdateCheckResult
Source§fn clone(&self) -> UpdateCheckResult
fn clone(&self) -> UpdateCheckResult
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 Debug for UpdateCheckResult
impl Debug for UpdateCheckResult
Source§impl<'de> Deserialize<'de> for UpdateCheckResult
impl<'de> Deserialize<'de> for UpdateCheckResult
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
Auto Trait Implementations§
impl Freeze for UpdateCheckResult
impl RefUnwindSafe for UpdateCheckResult
impl Send for UpdateCheckResult
impl Sync for UpdateCheckResult
impl Unpin for UpdateCheckResult
impl UnwindSafe for UpdateCheckResult
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