pub struct ScanStatus {
pub scan_active: bool,
pub last_scan_timestamp: i64,
pub last_scan_duration: Option<i64>,
pub extra: BTreeMap<String, Value>,
}Expand description
Body of GET scan/{kind} (C1i). The two fields that decide completion
are required: a reading without them is a loud parse error, never a
default that could read as “complete”. Unknown keys ride in extra.
Fields§
§scan_active: boolTrue while a scan runs.
last_scan_timestamp: i64Epoch-ms of the last scan’s end, on the GATEWAY clock.
last_scan_duration: Option<i64>Milliseconds the last scan took.
extra: BTreeMap<String, Value>Keys this client does not model.
Trait Implementations§
Source§impl Clone for ScanStatus
impl Clone for ScanStatus
Source§impl Debug for ScanStatus
impl Debug for ScanStatus
Source§impl<'de> Deserialize<'de> for ScanStatus
impl<'de> Deserialize<'de> for ScanStatus
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 ScanStatus
impl PartialEq for ScanStatus
Source§impl Serialize for ScanStatus
impl Serialize for ScanStatus
impl StructuralPartialEq for ScanStatus
Auto Trait Implementations§
impl Freeze for ScanStatus
impl RefUnwindSafe for ScanStatus
impl Send for ScanStatus
impl Sync for ScanStatus
impl Unpin for ScanStatus
impl UnsafeUnpin for ScanStatus
impl UnwindSafe for ScanStatus
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