pub struct ClusterHaRelocateResponseData {
pub blocking_resources: Option<Vec<ClusterHaRelocateResponseDataBlockingResourcesInner>>,
pub comigrated_resources: Option<Vec<String>>,
pub requested_node: String,
pub sid: String,
}Fields§
§blocking_resources: Option<Vec<ClusterHaRelocateResponseDataBlockingResourcesInner>>HA resources, which are blocking the given HA resource from being relocated to the requested target node.
comigrated_resources: Option<Vec<String>>HA resources, which are relocated to the same requested target node as the given HA resource, because these are in positive affinity with the HA resource.
requested_node: StringNode, which was requested to be relocated to.
sid: StringHA resource, which is requested to be relocated.
Implementations§
Source§impl ClusterHaRelocateResponseData
impl ClusterHaRelocateResponseData
pub fn new(requested_node: String, sid: String) -> ClusterHaRelocateResponseData
Trait Implementations§
Source§impl Clone for ClusterHaRelocateResponseData
impl Clone for ClusterHaRelocateResponseData
Source§fn clone(&self) -> ClusterHaRelocateResponseData
fn clone(&self) -> ClusterHaRelocateResponseData
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 Default for ClusterHaRelocateResponseData
impl Default for ClusterHaRelocateResponseData
Source§fn default() -> ClusterHaRelocateResponseData
fn default() -> ClusterHaRelocateResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterHaRelocateResponseData
impl<'de> Deserialize<'de> for ClusterHaRelocateResponseData
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
Source§impl PartialEq for ClusterHaRelocateResponseData
impl PartialEq for ClusterHaRelocateResponseData
Source§fn eq(&self, other: &ClusterHaRelocateResponseData) -> bool
fn eq(&self, other: &ClusterHaRelocateResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterHaRelocateResponseData
Auto Trait Implementations§
impl Freeze for ClusterHaRelocateResponseData
impl RefUnwindSafe for ClusterHaRelocateResponseData
impl Send for ClusterHaRelocateResponseData
impl Sync for ClusterHaRelocateResponseData
impl Unpin for ClusterHaRelocateResponseData
impl UnsafeUnpin for ClusterHaRelocateResponseData
impl UnwindSafe for ClusterHaRelocateResponseData
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