#[non_exhaustive]pub struct ImportNativeDashboardsInlineSource {
pub dashboards: Vec<NativeDashboardWithChartsAndQueries>,
/* private fields */
}Expand description
Inline source for importing dashboards.
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.dashboards: Vec<NativeDashboardWithChartsAndQueries>Required. Dashboards with charts and queries.
Implementations§
Source§impl ImportNativeDashboardsInlineSource
impl ImportNativeDashboardsInlineSource
Sourcepub fn set_dashboards<T, V>(self, v: T) -> Self
pub fn set_dashboards<T, V>(self, v: T) -> Self
Sets the value of dashboards.
§Example
ⓘ
use google_cloud_chronicle_v1::model::NativeDashboardWithChartsAndQueries;
let x = ImportNativeDashboardsInlineSource::new()
.set_dashboards([
NativeDashboardWithChartsAndQueries::default()/* use setters */,
NativeDashboardWithChartsAndQueries::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for ImportNativeDashboardsInlineSource
impl Clone for ImportNativeDashboardsInlineSource
Source§fn clone(&self) -> ImportNativeDashboardsInlineSource
fn clone(&self) -> ImportNativeDashboardsInlineSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ImportNativeDashboardsInlineSource
impl Default for ImportNativeDashboardsInlineSource
Source§fn default() -> ImportNativeDashboardsInlineSource
fn default() -> ImportNativeDashboardsInlineSource
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImportNativeDashboardsInlineSource
impl PartialEq for ImportNativeDashboardsInlineSource
Source§fn eq(&self, other: &ImportNativeDashboardsInlineSource) -> bool
fn eq(&self, other: &ImportNativeDashboardsInlineSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImportNativeDashboardsInlineSource
Auto Trait Implementations§
impl Freeze for ImportNativeDashboardsInlineSource
impl RefUnwindSafe for ImportNativeDashboardsInlineSource
impl Send for ImportNativeDashboardsInlineSource
impl Sync for ImportNativeDashboardsInlineSource
impl Unpin for ImportNativeDashboardsInlineSource
impl UnsafeUnpin for ImportNativeDashboardsInlineSource
impl UnwindSafe for ImportNativeDashboardsInlineSource
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