pub struct ScannerFreshness {
pub state: String,
pub last_cycle_end_unix_secs: u64,
pub max_expected_age_seconds: u64,
pub reason: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Scanner freshness metadata calculated by RustFS.
Fields§
§state: String§last_cycle_end_unix_secs: u64§max_expected_age_seconds: u64§reason: Option<String>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for ScannerFreshness
impl Clone for ScannerFreshness
Source§fn clone(&self) -> ScannerFreshness
fn clone(&self) -> ScannerFreshness
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 ScannerFreshness
impl Debug for ScannerFreshness
Source§impl Default for ScannerFreshness
impl Default for ScannerFreshness
Source§fn default() -> ScannerFreshness
fn default() -> ScannerFreshness
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScannerFreshness
impl<'de> Deserialize<'de> for ScannerFreshness
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
Source§impl PartialEq for ScannerFreshness
impl PartialEq for ScannerFreshness
Source§impl Serialize for ScannerFreshness
impl Serialize for ScannerFreshness
impl StructuralPartialEq for ScannerFreshness
Auto Trait Implementations§
impl Freeze for ScannerFreshness
impl RefUnwindSafe for ScannerFreshness
impl Send for ScannerFreshness
impl Sync for ScannerFreshness
impl Unpin for ScannerFreshness
impl UnsafeUnpin for ScannerFreshness
impl UnwindSafe for ScannerFreshness
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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