#[non_exhaustive]pub struct GetCustomConstraintRequest {
pub name: String,
/* private fields */
}Expand description
The request sent to the [GetCustomConstraint] [google.cloud.orgpolicy.v2.OrgPolicy.GetCustomConstraint] 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. Resource name of the custom or managed constraint. See the custom constraint entry for naming requirements.
Implementations§
Trait Implementations§
Source§impl Clone for GetCustomConstraintRequest
impl Clone for GetCustomConstraintRequest
Source§fn clone(&self) -> GetCustomConstraintRequest
fn clone(&self) -> GetCustomConstraintRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetCustomConstraintRequest
impl Debug for GetCustomConstraintRequest
Source§impl Default for GetCustomConstraintRequest
impl Default for GetCustomConstraintRequest
Source§fn default() -> GetCustomConstraintRequest
fn default() -> GetCustomConstraintRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetCustomConstraintRequest
impl Message for GetCustomConstraintRequest
Source§impl PartialEq for GetCustomConstraintRequest
impl PartialEq for GetCustomConstraintRequest
Source§fn eq(&self, other: &GetCustomConstraintRequest) -> bool
fn eq(&self, other: &GetCustomConstraintRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetCustomConstraintRequest
Auto Trait Implementations§
impl Freeze for GetCustomConstraintRequest
impl RefUnwindSafe for GetCustomConstraintRequest
impl Send for GetCustomConstraintRequest
impl Sync for GetCustomConstraintRequest
impl Unpin for GetCustomConstraintRequest
impl UnsafeUnpin for GetCustomConstraintRequest
impl UnwindSafe for GetCustomConstraintRequest
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