#[non_exhaustive]pub struct GetAuthorizationPolicyRequest {
pub name: String,
/* private fields */
}Expand description
Request used by the GetAuthorizationPolicy 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.name: StringRequired. A name of the AuthorizationPolicy to get. Must be in the format
projects/{project}/locations/{location}/authorizationPolicies/*.
Implementations§
Trait Implementations§
Source§impl Clone for GetAuthorizationPolicyRequest
impl Clone for GetAuthorizationPolicyRequest
Source§fn clone(&self) -> GetAuthorizationPolicyRequest
fn clone(&self) -> GetAuthorizationPolicyRequest
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 GetAuthorizationPolicyRequest
impl Default for GetAuthorizationPolicyRequest
Source§fn default() -> GetAuthorizationPolicyRequest
fn default() -> GetAuthorizationPolicyRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetAuthorizationPolicyRequest
impl PartialEq for GetAuthorizationPolicyRequest
Source§fn eq(&self, other: &GetAuthorizationPolicyRequest) -> bool
fn eq(&self, other: &GetAuthorizationPolicyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetAuthorizationPolicyRequest
Auto Trait Implementations§
impl Freeze for GetAuthorizationPolicyRequest
impl RefUnwindSafe for GetAuthorizationPolicyRequest
impl Send for GetAuthorizationPolicyRequest
impl Sync for GetAuthorizationPolicyRequest
impl Unpin for GetAuthorizationPolicyRequest
impl UnwindSafe for GetAuthorizationPolicyRequest
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