#[non_exhaustive]pub struct GetPolicyRequest {
pub name: String,
/* private fields */
}
Expand description
Request message for [BinauthzManagementService.GetPolicy][].
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: String
Required. The resource name of the policy to retrieve,
in the format projects/*/policy
.
Implementations§
Trait Implementations§
Source§impl Clone for GetPolicyRequest
impl Clone for GetPolicyRequest
Source§fn clone(&self) -> GetPolicyRequest
fn clone(&self) -> GetPolicyRequest
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 GetPolicyRequest
impl Debug for GetPolicyRequest
Source§impl Default for GetPolicyRequest
impl Default for GetPolicyRequest
Source§fn default() -> GetPolicyRequest
fn default() -> GetPolicyRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetPolicyRequest
impl Message for GetPolicyRequest
Source§impl PartialEq for GetPolicyRequest
impl PartialEq for GetPolicyRequest
impl StructuralPartialEq for GetPolicyRequest
Auto Trait Implementations§
impl Freeze for GetPolicyRequest
impl RefUnwindSafe for GetPolicyRequest
impl Send for GetPolicyRequest
impl Sync for GetPolicyRequest
impl Unpin for GetPolicyRequest
impl UnwindSafe for GetPolicyRequest
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