#[non_exhaustive]pub struct CreateDashboardInput {
pub project_id: Option<String>,
pub dashboard_name: Option<String>,
pub dashboard_description: Option<String>,
pub dashboard_definition: Option<String>,
pub client_token: Option<String>,
pub tags: Option<HashMap<String, 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.project_id: Option<String>The ID of the project in which to create the dashboard.
dashboard_name: Option<String>A friendly name for the dashboard.
dashboard_description: Option<String>A description for the dashboard.
dashboard_definition: Option<String>The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
client_token: Option<String>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
Implementations§
source§impl CreateDashboardInput
impl CreateDashboardInput
sourcepub fn project_id(&self) -> Option<&str>
pub fn project_id(&self) -> Option<&str>
The ID of the project in which to create the dashboard.
sourcepub fn dashboard_name(&self) -> Option<&str>
pub fn dashboard_name(&self) -> Option<&str>
A friendly name for the dashboard.
sourcepub fn dashboard_description(&self) -> Option<&str>
pub fn dashboard_description(&self) -> Option<&str>
A description for the dashboard.
sourcepub fn dashboard_definition(&self) -> Option<&str>
pub fn dashboard_definition(&self) -> Option<&str>
The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
source§impl CreateDashboardInput
impl CreateDashboardInput
sourcepub fn builder() -> CreateDashboardInputBuilder
pub fn builder() -> CreateDashboardInputBuilder
Creates a new builder-style object to manufacture CreateDashboardInput.
Trait Implementations§
source§impl Clone for CreateDashboardInput
impl Clone for CreateDashboardInput
source§fn clone(&self) -> CreateDashboardInput
fn clone(&self) -> CreateDashboardInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDashboardInput
impl Debug for CreateDashboardInput
source§impl PartialEq for CreateDashboardInput
impl PartialEq for CreateDashboardInput
source§fn eq(&self, other: &CreateDashboardInput) -> bool
fn eq(&self, other: &CreateDashboardInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDashboardInput
Auto Trait Implementations§
impl Freeze for CreateDashboardInput
impl RefUnwindSafe for CreateDashboardInput
impl Send for CreateDashboardInput
impl Sync for CreateDashboardInput
impl Unpin for CreateDashboardInput
impl UnwindSafe for CreateDashboardInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more