pub struct ReloadResult {
pub version: u64,
pub diffs: Vec<ConfigDiff>,
pub warnings: Vec<ConfigWarning>,
pub applied_at: i64,
}Expand description
The outcome of a successful hot-reload operation.
Fields§
§version: u64The new version number after the update.
diffs: Vec<ConfigDiff>Field-level diffs between the old and new config.
warnings: Vec<ConfigWarning>Advisory warnings raised by the validator.
applied_at: i64Unix timestamp (seconds) when the reload was applied.
Trait Implementations§
Source§impl Clone for ReloadResult
impl Clone for ReloadResult
Source§fn clone(&self) -> ReloadResult
fn clone(&self) -> ReloadResult
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 ReloadResult
impl Debug for ReloadResult
Source§impl<'de> Deserialize<'de> for ReloadResult
impl<'de> Deserialize<'de> for ReloadResult
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 ReloadResult
impl RefUnwindSafe for ReloadResult
impl Send for ReloadResult
impl Sync for ReloadResult
impl Unpin for ReloadResult
impl UnsafeUnpin for ReloadResult
impl UnwindSafe for ReloadResult
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