#[non_exhaustive]pub struct AssociatedEntities {
pub gke_clusters: Vec<GkeCluster>,
pub anthos_clusters: Vec<AnthosCluster>,
/* private fields */
}
Expand description
Information about entities associated with a Target
.
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.gke_clusters: Vec<GkeCluster>
Optional. Information specifying GKE clusters as associated entities.
anthos_clusters: Vec<AnthosCluster>
Optional. Information specifying Anthos clusters as associated entities.
Implementations§
Source§impl AssociatedEntities
impl AssociatedEntities
pub fn new() -> Self
Sourcepub fn set_gke_clusters<T, V>(self, v: T) -> Self
pub fn set_gke_clusters<T, V>(self, v: T) -> Self
Sets the value of gke_clusters.
Sourcepub fn set_anthos_clusters<T, V>(self, v: T) -> Self
pub fn set_anthos_clusters<T, V>(self, v: T) -> Self
Sets the value of anthos_clusters.
Trait Implementations§
Source§impl Clone for AssociatedEntities
impl Clone for AssociatedEntities
Source§fn clone(&self) -> AssociatedEntities
fn clone(&self) -> AssociatedEntities
Returns a duplicate of the value. Read more
1.0.0 · 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 AssociatedEntities
impl Debug for AssociatedEntities
Source§impl Default for AssociatedEntities
impl Default for AssociatedEntities
Source§fn default() -> AssociatedEntities
fn default() -> AssociatedEntities
Returns the “default value” for a type. Read more
Source§impl Message for AssociatedEntities
impl Message for AssociatedEntities
Source§impl PartialEq for AssociatedEntities
impl PartialEq for AssociatedEntities
impl StructuralPartialEq for AssociatedEntities
Auto Trait Implementations§
impl Freeze for AssociatedEntities
impl RefUnwindSafe for AssociatedEntities
impl Send for AssociatedEntities
impl Sync for AssociatedEntities
impl Unpin for AssociatedEntities
impl UnwindSafe for AssociatedEntities
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