#[non_exhaustive]pub struct WorkloadCapturesListResponse {
pub workload_captures: Vec<WorkloadCapture>,
pub kind: String,
/* private fields */
}Expand description
Instance list captured workloads response.
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.workload_captures: Vec<WorkloadCapture>List of captured workloads for the instance.
kind: StringThis is always sql#workloadCapturesList.
Implementations§
Source§impl WorkloadCapturesListResponse
impl WorkloadCapturesListResponse
Sourcepub fn set_workload_captures<T, V>(self, v: T) -> Self
pub fn set_workload_captures<T, V>(self, v: T) -> Self
Sets the value of workload_captures.
§Example
ⓘ
use google_cloud_sql_v1::model::WorkloadCapture;
let x = WorkloadCapturesListResponse::new()
.set_workload_captures([
WorkloadCapture::default()/* use setters */,
WorkloadCapture::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for WorkloadCapturesListResponse
impl Clone for WorkloadCapturesListResponse
Source§impl Debug for WorkloadCapturesListResponse
impl Debug for WorkloadCapturesListResponse
impl StructuralPartialEq for WorkloadCapturesListResponse
Auto Trait Implementations§
impl Freeze for WorkloadCapturesListResponse
impl RefUnwindSafe for WorkloadCapturesListResponse
impl Send for WorkloadCapturesListResponse
impl Sync for WorkloadCapturesListResponse
impl Unpin for WorkloadCapturesListResponse
impl UnsafeUnpin for WorkloadCapturesListResponse
impl UnwindSafe for WorkloadCapturesListResponse
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