#[non_exhaustive]pub struct MetadataFilterLabelMatch {
pub name: Option<String>,
pub value: Option<String>,
/* private fields */
}Available on crate features
forwarding-rules or global-forwarding-rules or region-url-maps or url-maps only.Expand description
MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>Name of metadata label.
The name can have a maximum length of 1024 characters and must be at least 1 character long.
value: Option<String>The value of the label must match the specified value.
value can have a maximum length of 1024 characters.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataFilterLabelMatch
impl Clone for MetadataFilterLabelMatch
Source§fn clone(&self) -> MetadataFilterLabelMatch
fn clone(&self) -> MetadataFilterLabelMatch
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 Debug for MetadataFilterLabelMatch
impl Debug for MetadataFilterLabelMatch
Source§impl Default for MetadataFilterLabelMatch
impl Default for MetadataFilterLabelMatch
Source§fn default() -> MetadataFilterLabelMatch
fn default() -> MetadataFilterLabelMatch
Returns the “default value” for a type. Read more
Source§impl Message for MetadataFilterLabelMatch
impl Message for MetadataFilterLabelMatch
Source§impl PartialEq for MetadataFilterLabelMatch
impl PartialEq for MetadataFilterLabelMatch
impl StructuralPartialEq for MetadataFilterLabelMatch
Auto Trait Implementations§
impl Freeze for MetadataFilterLabelMatch
impl RefUnwindSafe for MetadataFilterLabelMatch
impl Send for MetadataFilterLabelMatch
impl Sync for MetadataFilterLabelMatch
impl Unpin for MetadataFilterLabelMatch
impl UnwindSafe for MetadataFilterLabelMatch
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