#[non_exhaustive]pub struct ShowVcenterCredentialsRequest {
pub private_cloud: String,
pub username: String,
/* private fields */
}Expand description
Request message for VmwareEngine.ShowVcenterCredentials
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.private_cloud: StringRequired. The resource name of the private cloud
to be queried for credentials.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud
username: StringOptional. The username of the user to be queried for credentials. The default value of this field is CloudOwner@gve.local. The provided value must be one of the following: CloudOwner@gve.local, solution-user-01@gve.local, solution-user-02@gve.local, solution-user-03@gve.local, solution-user-04@gve.local, solution-user-05@gve.local, zertoadmin@gve.local.
Implementations§
Source§impl ShowVcenterCredentialsRequest
impl ShowVcenterCredentialsRequest
pub fn new() -> Self
Sourcepub fn set_private_cloud<T: Into<String>>(self, v: T) -> Self
pub fn set_private_cloud<T: Into<String>>(self, v: T) -> Self
Sets the value of private_cloud.
Sourcepub fn set_username<T: Into<String>>(self, v: T) -> Self
pub fn set_username<T: Into<String>>(self, v: T) -> Self
Sets the value of username.
Trait Implementations§
Source§impl Clone for ShowVcenterCredentialsRequest
impl Clone for ShowVcenterCredentialsRequest
Source§fn clone(&self) -> ShowVcenterCredentialsRequest
fn clone(&self) -> ShowVcenterCredentialsRequest
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 ShowVcenterCredentialsRequest
impl Default for ShowVcenterCredentialsRequest
Source§fn default() -> ShowVcenterCredentialsRequest
fn default() -> ShowVcenterCredentialsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ShowVcenterCredentialsRequest
impl PartialEq for ShowVcenterCredentialsRequest
Source§fn eq(&self, other: &ShowVcenterCredentialsRequest) -> bool
fn eq(&self, other: &ShowVcenterCredentialsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShowVcenterCredentialsRequest
Auto Trait Implementations§
impl Freeze for ShowVcenterCredentialsRequest
impl RefUnwindSafe for ShowVcenterCredentialsRequest
impl Send for ShowVcenterCredentialsRequest
impl Sync for ShowVcenterCredentialsRequest
impl Unpin for ShowVcenterCredentialsRequest
impl UnwindSafe for ShowVcenterCredentialsRequest
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