#[non_exhaustive]pub struct UpdateDimensionInput {
pub name: Option<String>,
pub string_values: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
string_values: Option<Vec<String>>
Specifies the value or list of values for the dimension. For TOPIC_FILTER
dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").
Implementations§
source§impl UpdateDimensionInput
impl UpdateDimensionInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
sourcepub fn string_values(&self) -> &[String]
pub fn string_values(&self) -> &[String]
Specifies the value or list of values for the dimension. For TOPIC_FILTER
dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .string_values.is_none()
.
source§impl UpdateDimensionInput
impl UpdateDimensionInput
sourcepub fn builder() -> UpdateDimensionInputBuilder
pub fn builder() -> UpdateDimensionInputBuilder
Creates a new builder-style object to manufacture UpdateDimensionInput
.
Trait Implementations§
source§impl Clone for UpdateDimensionInput
impl Clone for UpdateDimensionInput
source§fn clone(&self) -> UpdateDimensionInput
fn clone(&self) -> UpdateDimensionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDimensionInput
impl Debug for UpdateDimensionInput
source§impl PartialEq for UpdateDimensionInput
impl PartialEq for UpdateDimensionInput
source§fn eq(&self, other: &UpdateDimensionInput) -> bool
fn eq(&self, other: &UpdateDimensionInput) -> bool
self
and other
values to be equal, and is used
by ==
.