#[non_exhaustive]pub struct GetShieldedInstanceIdentityRequest {
pub instance: String,
pub project: String,
pub zone: String,
/* private fields */
}Available on crate feature
instances only.Expand description
Synthetic request message for the getShieldedInstanceIdentity() method.
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.instance: StringName or id of the instance scoping this request.
project: StringProject ID for this request.
zone: StringThe name of the zone for this request.
Implementations§
Source§impl GetShieldedInstanceIdentityRequest
impl GetShieldedInstanceIdentityRequest
pub fn new() -> Self
Sourcepub fn set_instance<T: Into<String>>(self, v: T) -> Self
pub fn set_instance<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_project<T: Into<String>>(self, v: T) -> Self
pub fn set_project<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for GetShieldedInstanceIdentityRequest
impl Clone for GetShieldedInstanceIdentityRequest
Source§fn clone(&self) -> GetShieldedInstanceIdentityRequest
fn clone(&self) -> GetShieldedInstanceIdentityRequest
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 GetShieldedInstanceIdentityRequest
impl Default for GetShieldedInstanceIdentityRequest
Source§fn default() -> GetShieldedInstanceIdentityRequest
fn default() -> GetShieldedInstanceIdentityRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetShieldedInstanceIdentityRequest
impl PartialEq for GetShieldedInstanceIdentityRequest
Source§fn eq(&self, other: &GetShieldedInstanceIdentityRequest) -> bool
fn eq(&self, other: &GetShieldedInstanceIdentityRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetShieldedInstanceIdentityRequest
Auto Trait Implementations§
impl Freeze for GetShieldedInstanceIdentityRequest
impl RefUnwindSafe for GetShieldedInstanceIdentityRequest
impl Send for GetShieldedInstanceIdentityRequest
impl Sync for GetShieldedInstanceIdentityRequest
impl Unpin for GetShieldedInstanceIdentityRequest
impl UnwindSafe for GetShieldedInstanceIdentityRequest
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