Struct Cluster
pub struct Cluster {
pub name: String,
pub hosts: Vec<String>,
}Expand description
Representation of a cluster tag.
Fields§
§name: StringName of the cluster tag, used to identify it.
hosts: Vec<String>List of hostnames the cluster tag is an alias for.
Trait Implementations§
§impl<'de> Deserialize<'de> for Cluster
impl<'de> Deserialize<'de> for Cluster
§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
impl StructuralPartialEq for Cluster
Auto Trait Implementations§
impl Freeze for Cluster
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
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