pub struct ServerConfigStatusState {
pub last_saved_at: Option<Instant>,
pub last_apply_at: Option<Instant>,
pub last_action: Option<String>,
pub last_action_at: Option<Instant>,
pub pending_process_restarts: Vec<String>,
pub control_plane_reload_required: bool,
pub control_plane_restart_required: bool,
pub runtime_differs_from_saved: bool,
pub last_apply_plan: Option<ServerConfigApplyPlan>,
}Fields§
§last_saved_at: Option<Instant>§last_apply_at: Option<Instant>§last_action: Option<String>§last_action_at: Option<Instant>§pending_process_restarts: Vec<String>§control_plane_reload_required: bool§control_plane_restart_required: bool§runtime_differs_from_saved: bool§last_apply_plan: Option<ServerConfigApplyPlan>Implementations§
Source§impl ServerConfigStatusState
impl ServerConfigStatusState
pub fn snapshot(&self) -> ServerConfigStatusSnapshot
Trait Implementations§
Source§impl Clone for ServerConfigStatusState
impl Clone for ServerConfigStatusState
Source§fn clone(&self) -> ServerConfigStatusState
fn clone(&self) -> ServerConfigStatusState
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 ServerConfigStatusState
impl Debug for ServerConfigStatusState
Source§impl Default for ServerConfigStatusState
impl Default for ServerConfigStatusState
Source§fn default() -> ServerConfigStatusState
fn default() -> ServerConfigStatusState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerConfigStatusState
impl RefUnwindSafe for ServerConfigStatusState
impl Send for ServerConfigStatusState
impl Sync for ServerConfigStatusState
impl Unpin for ServerConfigStatusState
impl UnsafeUnpin for ServerConfigStatusState
impl UnwindSafe for ServerConfigStatusState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more