pub struct ReloadHint {
pub requires_reload: bool,
pub requires_restart: bool,
}Expand description
Advisory indicating what, if anything, the server needs to do in response to a config change.
Fields§
§requires_reload: bool§requires_restart: boolImplementations§
Trait Implementations§
Source§impl Clone for ReloadHint
impl Clone for ReloadHint
Source§fn clone(&self) -> ReloadHint
fn clone(&self) -> ReloadHint
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 ReloadHint
impl Debug for ReloadHint
Source§impl Default for ReloadHint
impl Default for ReloadHint
Source§fn default() -> ReloadHint
fn default() -> ReloadHint
Returns the “default value” for a type. Read more
Source§impl Serialize for ReloadHint
impl Serialize for ReloadHint
impl Copy for ReloadHint
Auto Trait Implementations§
impl Freeze for ReloadHint
impl RefUnwindSafe for ReloadHint
impl Send for ReloadHint
impl Sync for ReloadHint
impl Unpin for ReloadHint
impl UnsafeUnpin for ReloadHint
impl UnwindSafe for ReloadHint
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