#[non_exhaustive]pub struct ListBlueGreenDeploymentsResponse {
pub blue_green_deployments: Vec<BlueGreenDeployment>,
pub next_page_token: String,
/* private fields */
}Expand description
The response message for listing blue-green deployment resources.
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.blue_green_deployments: Vec<BlueGreenDeployment>The list of blue-green deployment resources.
next_page_token: StringA token to retrieve the next page of results, or empty if there are no more results.
Implementations§
Source§impl ListBlueGreenDeploymentsResponse
impl ListBlueGreenDeploymentsResponse
Sourcepub fn set_blue_green_deployments<T, V>(self, v: T) -> Self
pub fn set_blue_green_deployments<T, V>(self, v: T) -> Self
Sets the value of blue_green_deployments.
§Example
ⓘ
use google_cloud_sql_v1::model::BlueGreenDeployment;
let x = ListBlueGreenDeploymentsResponse::new()
.set_blue_green_deployments([
BlueGreenDeployment::default()/* use setters */,
BlueGreenDeployment::default()/* use (different) setters */,
]);Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
§Example
ⓘ
let x = ListBlueGreenDeploymentsResponse::new().set_next_page_token("example");Trait Implementations§
impl StructuralPartialEq for ListBlueGreenDeploymentsResponse
Auto Trait Implementations§
impl Freeze for ListBlueGreenDeploymentsResponse
impl RefUnwindSafe for ListBlueGreenDeploymentsResponse
impl Send for ListBlueGreenDeploymentsResponse
impl Sync for ListBlueGreenDeploymentsResponse
impl Unpin for ListBlueGreenDeploymentsResponse
impl UnsafeUnpin for ListBlueGreenDeploymentsResponse
impl UnwindSafe for ListBlueGreenDeploymentsResponse
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