pub struct SeedStatus {
pub local_version: u32,
pub remote_version: Option<u32>,
pub update_available: bool,
pub source: String,
pub entries: Vec<SeedEntryStatus>,
pub last_refresh_at: Option<String>,
pub last_error: Option<String>,
}Expand description
Status of the local seed data.
Fields§
§local_version: u32Current local version.
remote_version: Option<u32>Latest remote version (if checked).
update_available: boolWhether a newer remote version is available.
source: StringData source: "embedded", "remote", or "cache".
entries: Vec<SeedEntryStatus>Per-entry status detail.
last_refresh_at: Option<String>When the last refresh was attempted (RFC 3339).
last_error: Option<String>Last error message, if any.
Trait Implementations§
Source§impl Clone for SeedStatus
impl Clone for SeedStatus
Source§fn clone(&self) -> SeedStatus
fn clone(&self) -> SeedStatus
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 SeedStatus
impl Debug for SeedStatus
Source§impl<'de> Deserialize<'de> for SeedStatus
impl<'de> Deserialize<'de> for SeedStatus
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 SeedStatus
impl RefUnwindSafe for SeedStatus
impl Send for SeedStatus
impl Sync for SeedStatus
impl Unpin for SeedStatus
impl UnsafeUnpin for SeedStatus
impl UnwindSafe for SeedStatus
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