#[non_exhaustive]pub struct ProjectPolicyGrantPrincipal {
pub project_designation: ProjectDesignation,
pub project_identifier: Option<String>,
pub project_grant_filter: Option<ProjectGrantFilter>,
}
Expand description
The project policy grant principal.
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.project_designation: ProjectDesignation
The project designation of the project policy grant principal.
project_identifier: Option<String>
The project ID of the project policy grant principal.
project_grant_filter: Option<ProjectGrantFilter>
The project grant filter of the project policy grant principal.
Implementations§
source§impl ProjectPolicyGrantPrincipal
impl ProjectPolicyGrantPrincipal
sourcepub fn project_designation(&self) -> &ProjectDesignation
pub fn project_designation(&self) -> &ProjectDesignation
The project designation of the project policy grant principal.
sourcepub fn project_identifier(&self) -> Option<&str>
pub fn project_identifier(&self) -> Option<&str>
The project ID of the project policy grant principal.
sourcepub fn project_grant_filter(&self) -> Option<&ProjectGrantFilter>
pub fn project_grant_filter(&self) -> Option<&ProjectGrantFilter>
The project grant filter of the project policy grant principal.
source§impl ProjectPolicyGrantPrincipal
impl ProjectPolicyGrantPrincipal
sourcepub fn builder() -> ProjectPolicyGrantPrincipalBuilder
pub fn builder() -> ProjectPolicyGrantPrincipalBuilder
Creates a new builder-style object to manufacture ProjectPolicyGrantPrincipal
.
Trait Implementations§
source§impl Clone for ProjectPolicyGrantPrincipal
impl Clone for ProjectPolicyGrantPrincipal
source§fn clone(&self) -> ProjectPolicyGrantPrincipal
fn clone(&self) -> ProjectPolicyGrantPrincipal
Returns a copy 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 ProjectPolicyGrantPrincipal
impl Debug for ProjectPolicyGrantPrincipal
impl StructuralPartialEq for ProjectPolicyGrantPrincipal
Auto Trait Implementations§
impl Freeze for ProjectPolicyGrantPrincipal
impl RefUnwindSafe for ProjectPolicyGrantPrincipal
impl Send for ProjectPolicyGrantPrincipal
impl Sync for ProjectPolicyGrantPrincipal
impl Unpin for ProjectPolicyGrantPrincipal
impl UnwindSafe for ProjectPolicyGrantPrincipal
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.