pub struct LabelOptions {
pub timezone: Option<String>,
}Expand description
This structure includes the Timezone parameter, which you can use to specify your time zone so that the labels that are associated with returned metrics display the correct time for your time zone. The Timezone value affects a label only if you have a time-based dynamic expression in the label. For more information about dynamic expressions in labels, see Using Dynamic Labels.
AWS API: cloudwatch.v1.LabelOptions
Reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference//LabelOptions
Fields§
§timezone: Option<String>The time zone to use for metric data return in this operation. The format is + or
- followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.
Trait Implementations§
Source§impl Clone for LabelOptions
impl Clone for LabelOptions
Source§fn clone(&self) -> LabelOptions
fn clone(&self) -> LabelOptions
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 LabelOptions
impl Debug for LabelOptions
Source§impl Default for LabelOptions
impl Default for LabelOptions
Source§fn default() -> LabelOptions
fn default() -> LabelOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LabelOptions
impl<'de> Deserialize<'de> for LabelOptions
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
Auto Trait Implementations§
impl Freeze for LabelOptions
impl RefUnwindSafe for LabelOptions
impl Send for LabelOptions
impl Sync for LabelOptions
impl Unpin for LabelOptions
impl UnsafeUnpin for LabelOptions
impl UnwindSafe for LabelOptions
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