pub struct IndexWatch {
pub enabled: bool,
pub minutes: u64,
pub last: WatchResult,
}Expand description
GET /api/v1/index/watch: whether automatic re-indexing is on and what it last found.
Fields§
§enabled: bool§minutes: u64Minutes between checks.
last: WatchResultTrait Implementations§
Source§impl Clone for IndexWatch
impl Clone for IndexWatch
Source§impl Debug for IndexWatch
impl Debug for IndexWatch
Source§impl<'de> Deserialize<'de> for IndexWatch
impl<'de> Deserialize<'de> for IndexWatch
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 Forget for IndexWatch
impl Freeze for IndexWatch
impl RefUnwindSafe for IndexWatch
impl Send for IndexWatch
impl Sync for IndexWatch
impl Unpin for IndexWatch
impl UnsafeUnpin for IndexWatch
impl UnwindSafe for IndexWatch
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