pub struct EndpointMatcherMetadataLabelMatcherMetadataLabels {
pub label_name: Option<String>,
pub label_value: Option<String>,
}Expand description
Defines a name-pair value for a single label.
This type is not used in any activity, and only used as part of another schema.
Fields§
§label_name: Option<String>Required. Label name presented as key in xDS Node Metadata.
label_value: Option<String>Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.
Trait Implementations§
Source§impl Clone for EndpointMatcherMetadataLabelMatcherMetadataLabels
impl Clone for EndpointMatcherMetadataLabelMatcherMetadataLabels
Source§fn clone(&self) -> EndpointMatcherMetadataLabelMatcherMetadataLabels
fn clone(&self) -> EndpointMatcherMetadataLabelMatcherMetadataLabels
Returns a duplicate of the value. Read more
1.0.0 · 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 EndpointMatcherMetadataLabelMatcherMetadataLabels
impl Default for EndpointMatcherMetadataLabelMatcherMetadataLabels
Source§fn default() -> EndpointMatcherMetadataLabelMatcherMetadataLabels
fn default() -> EndpointMatcherMetadataLabelMatcherMetadataLabels
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointMatcherMetadataLabelMatcherMetadataLabels
impl<'de> Deserialize<'de> for EndpointMatcherMetadataLabelMatcherMetadataLabels
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
impl Part for EndpointMatcherMetadataLabelMatcherMetadataLabels
Auto Trait Implementations§
impl Freeze for EndpointMatcherMetadataLabelMatcherMetadataLabels
impl RefUnwindSafe for EndpointMatcherMetadataLabelMatcherMetadataLabels
impl Send for EndpointMatcherMetadataLabelMatcherMetadataLabels
impl Sync for EndpointMatcherMetadataLabelMatcherMetadataLabels
impl Unpin for EndpointMatcherMetadataLabelMatcherMetadataLabels
impl UnwindSafe for EndpointMatcherMetadataLabelMatcherMetadataLabels
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