pub struct BootstrapStatus {
pub state: String,
pub start_time: Option<String>,
pub end_time: Option<String>,
}Expand description
Inner bootstrap state, as carried inside BootstrapStatusResponse.
The Redis Enterprise REST API uses the field name state
(not status) for the bootstrap lifecycle value, and pairs it with
start_time and end_time. The previous shape (status /
progress / message) did not match the wire response —
see tests/fixtures/bootstrap_status.json.
Fields§
§state: StringCurrent bootstrap state (e.g. "idle", "initializing",
"completed", "failed").
start_time: Option<String>ISO-8601 timestamp when the bootstrap began.
end_time: Option<String>ISO-8601 timestamp when the bootstrap reached its terminal state.
Trait Implementations§
Source§impl Clone for BootstrapStatus
impl Clone for BootstrapStatus
Source§fn clone(&self) -> BootstrapStatus
fn clone(&self) -> BootstrapStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BootstrapStatus
impl Debug for BootstrapStatus
Source§impl<'de> Deserialize<'de> for BootstrapStatus
impl<'de> Deserialize<'de> for BootstrapStatus
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 BootstrapStatus
impl RefUnwindSafe for BootstrapStatus
impl Send for BootstrapStatus
impl Sync for BootstrapStatus
impl Unpin for BootstrapStatus
impl UnsafeUnpin for BootstrapStatus
impl UnwindSafe for BootstrapStatus
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