Struct bollard_stubs::models::NodeSpec
source · pub struct NodeSpec {
pub name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub role: Option<NodeSpecRoleEnum>,
pub availability: Option<NodeSpecAvailabilityEnum>,
}
Fields§
§name: Option<String>
Name for the node.
labels: Option<HashMap<String, String>>
User-defined key/value metadata.
role: Option<NodeSpecRoleEnum>
Role of the node.
availability: Option<NodeSpecAvailabilityEnum>
Availability of the node.
Trait Implementations§
source§impl<'de> Deserialize<'de> for NodeSpec
impl<'de> Deserialize<'de> for NodeSpec
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