pub struct BootstrapStatusResponse {
pub bootstrap_status: BootstrapStatus,
pub local_node_info: Option<Value>,
}Expand description
Response wrapper for GET /v1/bootstrap (and POST /v1/bootstrap /
POST /v1/bootstrap/join).
The Redis Enterprise API wraps the bootstrap state in a top-level
bootstrap_status field and includes a local_node_info object
describing the node that received the request. The previous Rust
shape collapsed these into a single struct and used the wrong
field names; the resulting decode failed against real responses.
Fields§
§bootstrap_status: BootstrapStatusInner bootstrap state.
local_node_info: Option<Value>Information about the local node that handled the request.
Typed as serde_json::Value because the contents are
version-specific and operator-oriented (CPU/storage info,
supported Redis versions, software version, etc.); see the
recorded bootstrap_status.json fixture.
Trait Implementations§
Source§impl Clone for BootstrapStatusResponse
impl Clone for BootstrapStatusResponse
Source§fn clone(&self) -> BootstrapStatusResponse
fn clone(&self) -> BootstrapStatusResponse
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 BootstrapStatusResponse
impl Debug for BootstrapStatusResponse
Source§impl<'de> Deserialize<'de> for BootstrapStatusResponse
impl<'de> Deserialize<'de> for BootstrapStatusResponse
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 BootstrapStatusResponse
impl RefUnwindSafe for BootstrapStatusResponse
impl Send for BootstrapStatusResponse
impl Sync for BootstrapStatusResponse
impl Unpin for BootstrapStatusResponse
impl UnsafeUnpin for BootstrapStatusResponse
impl UnwindSafe for BootstrapStatusResponse
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