Struct gapi_grpc::google::cloud::osconfig::v1alpha::os_policy_assignment::LabelSet [−][src]
Message representing label set.
- A label is a key value pair set for a VM.
- A LabelSet is a set of labels.
- Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet.
- Example: A LabelSet with 2 labels:
env=prod
andtype=webserver
will only be applicable for those VMs with both labels present.
Fields
labels: HashMap<String, String>
Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
Trait Implementations
impl Clone for LabelSet
[src][+]
impl Debug for LabelSet
[src][+]
impl Default for LabelSet
[src][+]
impl Message for LabelSet
[src][+]
impl PartialEq<LabelSet> for LabelSet
[src][+]
impl StructuralPartialEq for LabelSet
[src]
Auto Trait Implementations
impl RefUnwindSafe for LabelSet
impl Send for LabelSet
impl Sync for LabelSet
impl Unpin for LabelSet
impl UnwindSafe for LabelSet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,