#[non_exhaustive]pub struct RolloutRolloutEntity {
pub orchestrated_entity: Option<RolloutRolloutEntityOrchestratedEntity>,
/* private fields */
}Available on crate feature
rollouts only.Expand description
Specifications of the resource to roll out.
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.orchestrated_entity: Option<RolloutRolloutEntityOrchestratedEntity>Optional. Entity details for products using the Orchestrated Integration model.
Implementations§
Source§impl RolloutRolloutEntity
impl RolloutRolloutEntity
Sourcepub fn set_orchestrated_entity<T>(self, v: T) -> Selfwhere
T: Into<RolloutRolloutEntityOrchestratedEntity>,
pub fn set_orchestrated_entity<T>(self, v: T) -> Selfwhere
T: Into<RolloutRolloutEntityOrchestratedEntity>,
Sets the value of orchestrated_entity.
§Example
ⓘ
use google_cloud_compute_v1::model::RolloutRolloutEntityOrchestratedEntity;
let x = RolloutRolloutEntity::new().set_orchestrated_entity(RolloutRolloutEntityOrchestratedEntity::default()/* use setters */);Sourcepub fn set_or_clear_orchestrated_entity<T>(self, v: Option<T>) -> Selfwhere
T: Into<RolloutRolloutEntityOrchestratedEntity>,
pub fn set_or_clear_orchestrated_entity<T>(self, v: Option<T>) -> Selfwhere
T: Into<RolloutRolloutEntityOrchestratedEntity>,
Sets or clears the value of orchestrated_entity.
§Example
ⓘ
use google_cloud_compute_v1::model::RolloutRolloutEntityOrchestratedEntity;
let x = RolloutRolloutEntity::new().set_or_clear_orchestrated_entity(Some(RolloutRolloutEntityOrchestratedEntity::default()/* use setters */));
let x = RolloutRolloutEntity::new().set_or_clear_orchestrated_entity(None::<RolloutRolloutEntityOrchestratedEntity>);Trait Implementations§
Source§impl Clone for RolloutRolloutEntity
impl Clone for RolloutRolloutEntity
Source§fn clone(&self) -> RolloutRolloutEntity
fn clone(&self) -> RolloutRolloutEntity
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 RolloutRolloutEntity
impl Debug for RolloutRolloutEntity
Source§impl Default for RolloutRolloutEntity
impl Default for RolloutRolloutEntity
Source§fn default() -> RolloutRolloutEntity
fn default() -> RolloutRolloutEntity
Returns the “default value” for a type. Read more
Source§impl Message for RolloutRolloutEntity
impl Message for RolloutRolloutEntity
Source§impl PartialEq for RolloutRolloutEntity
impl PartialEq for RolloutRolloutEntity
Source§fn eq(&self, other: &RolloutRolloutEntity) -> bool
fn eq(&self, other: &RolloutRolloutEntity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RolloutRolloutEntity
Auto Trait Implementations§
impl Freeze for RolloutRolloutEntity
impl RefUnwindSafe for RolloutRolloutEntity
impl Send for RolloutRolloutEntity
impl Sync for RolloutRolloutEntity
impl Unpin for RolloutRolloutEntity
impl UnsafeUnpin for RolloutRolloutEntity
impl UnwindSafe for RolloutRolloutEntity
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