#[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
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>
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) -> Option<&[String]>
pub fn string_values(&self) -> Option<&[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/#").
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
Returns a copy 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 UpdateDimensionInput
impl Debug for UpdateDimensionInput
source§impl PartialEq<UpdateDimensionInput> for UpdateDimensionInput
impl PartialEq<UpdateDimensionInput> for UpdateDimensionInput
source§fn eq(&self, other: &UpdateDimensionInput) -> bool
fn eq(&self, other: &UpdateDimensionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDimensionInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDimensionInput
impl Send for UpdateDimensionInput
impl Sync for UpdateDimensionInput
impl Unpin for UpdateDimensionInput
impl UnwindSafe for UpdateDimensionInput
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