#[non_exhaustive]pub struct FetchClusterUpgradeInfoRequest {
pub name: String,
pub version: String,
/* private fields */
}Expand description
FetchClusterUpgradeInfoRequest fetches the upgrade information of a cluster.
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 name (project, location, cluster) of the cluster to get.
Specified in the format projects/*/locations/*/clusters/* or
projects/*/zones/*/clusters/*.
version: StringAPI request version that initiates this operation.
Implementations§
Trait Implementations§
Source§impl Clone for FetchClusterUpgradeInfoRequest
impl Clone for FetchClusterUpgradeInfoRequest
Source§fn clone(&self) -> FetchClusterUpgradeInfoRequest
fn clone(&self) -> FetchClusterUpgradeInfoRequest
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 Default for FetchClusterUpgradeInfoRequest
impl Default for FetchClusterUpgradeInfoRequest
Source§fn default() -> FetchClusterUpgradeInfoRequest
fn default() -> FetchClusterUpgradeInfoRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for FetchClusterUpgradeInfoRequest
impl PartialEq for FetchClusterUpgradeInfoRequest
Source§fn eq(&self, other: &FetchClusterUpgradeInfoRequest) -> bool
fn eq(&self, other: &FetchClusterUpgradeInfoRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FetchClusterUpgradeInfoRequest
Auto Trait Implementations§
impl Freeze for FetchClusterUpgradeInfoRequest
impl RefUnwindSafe for FetchClusterUpgradeInfoRequest
impl Send for FetchClusterUpgradeInfoRequest
impl Sync for FetchClusterUpgradeInfoRequest
impl Unpin for FetchClusterUpgradeInfoRequest
impl UnwindSafe for FetchClusterUpgradeInfoRequest
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