pub struct ManifestConfig {
pub refresh_interval_secs: Option<u64>,
}Expand description
Configuration for manifest refresh behavior.
Fields§
§refresh_interval_secs: Option<u64>How often to re-discover tools from downstream servers (seconds). 0 or absent = disabled (manifest is static after startup).
Trait Implementations§
Source§impl Clone for ManifestConfig
impl Clone for ManifestConfig
Source§fn clone(&self) -> ManifestConfig
fn clone(&self) -> ManifestConfig
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 ManifestConfig
impl Debug for ManifestConfig
Source§impl Default for ManifestConfig
impl Default for ManifestConfig
Source§fn default() -> ManifestConfig
fn default() -> ManifestConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ManifestConfig
impl<'de> Deserialize<'de> for ManifestConfig
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 ManifestConfig
impl RefUnwindSafe for ManifestConfig
impl Send for ManifestConfig
impl Sync for ManifestConfig
impl Unpin for ManifestConfig
impl UnsafeUnpin for ManifestConfig
impl UnwindSafe for ManifestConfig
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