pub struct NodeImpact {
pub node_name: String,
pub impact_level: Option<ImpactLevel>,
}Expand description
NodeImpact : Describes the expected impact of a repair to a particular node. This type supports the Service Fabric platform; it is not meant to be used directly from your code.
Fields§
§node_name: StringThe name of the impacted node.
impact_level: Option<ImpactLevel>The level of impact expected.
Implementations§
Source§impl NodeImpact
impl NodeImpact
Sourcepub fn new(node_name: String) -> NodeImpact
pub fn new(node_name: String) -> NodeImpact
Describes the expected impact of a repair to a particular node. This type supports the Service Fabric platform; it is not meant to be used directly from your code.
Trait Implementations§
Source§impl Clone for NodeImpact
impl Clone for NodeImpact
Source§impl Debug for NodeImpact
impl Debug for NodeImpact
Source§impl Default for NodeImpact
impl Default for NodeImpact
Source§impl<'de> Deserialize<'de> for NodeImpact
impl<'de> Deserialize<'de> for NodeImpact
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 NodeImpact
impl PartialEq for NodeImpact
Source§impl Serialize for NodeImpact
impl Serialize for NodeImpact
impl StructuralPartialEq for NodeImpact
Auto Trait Implementations§
impl Freeze for NodeImpact
impl RefUnwindSafe for NodeImpact
impl Send for NodeImpact
impl Sync for NodeImpact
impl Unpin for NodeImpact
impl UnsafeUnpin for NodeImpact
impl UnwindSafe for NodeImpact
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