#[non_exhaustive]pub struct RemoveChartRequest {
pub name: String,
pub dashboard_chart: String,
/* private fields */
}Expand description
Request message to remove chart from a dashboard.
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: StringRequired. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
dashboard_chart: StringRequired. The dashboard chart name to remove.
Implementations§
Source§impl RemoveChartRequest
impl RemoveChartRequest
Sourcepub fn set_dashboard_chart<T: Into<String>>(self, v: T) -> Self
pub fn set_dashboard_chart<T: Into<String>>(self, v: T) -> Self
Sets the value of dashboard_chart.
§Example
ⓘ
let x = RemoveChartRequest::new().set_dashboard_chart(format!("projects/{project_id}/locations/{location_id}/instances/{instance_id}/dashboardCharts/{chart_id}"));Trait Implementations§
Source§impl Clone for RemoveChartRequest
impl Clone for RemoveChartRequest
Source§fn clone(&self) -> RemoveChartRequest
fn clone(&self) -> RemoveChartRequest
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 Debug for RemoveChartRequest
impl Debug for RemoveChartRequest
Source§impl Default for RemoveChartRequest
impl Default for RemoveChartRequest
Source§fn default() -> RemoveChartRequest
fn default() -> RemoveChartRequest
Returns the “default value” for a type. Read more
Source§impl Message for RemoveChartRequest
impl Message for RemoveChartRequest
Source§impl PartialEq for RemoveChartRequest
impl PartialEq for RemoveChartRequest
Source§fn eq(&self, other: &RemoveChartRequest) -> bool
fn eq(&self, other: &RemoveChartRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RemoveChartRequest
Auto Trait Implementations§
impl Freeze for RemoveChartRequest
impl RefUnwindSafe for RemoveChartRequest
impl Send for RemoveChartRequest
impl Sync for RemoveChartRequest
impl Unpin for RemoveChartRequest
impl UnsafeUnpin for RemoveChartRequest
impl UnwindSafe for RemoveChartRequest
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