pub struct GetRoleGrantsForPrincipalResponse {
pub principal_grants: Vec<RolePrincipalGrant>,
}Fields§
§principal_grants: Vec<RolePrincipalGrant>Implementations§
source§impl GetRoleGrantsForPrincipalResponse
impl GetRoleGrantsForPrincipalResponse
pub fn new( principal_grants: Vec<RolePrincipalGrant> ) -> GetRoleGrantsForPrincipalResponse
Trait Implementations§
source§impl Clone for GetRoleGrantsForPrincipalResponse
impl Clone for GetRoleGrantsForPrincipalResponse
source§fn clone(&self) -> GetRoleGrantsForPrincipalResponse
fn clone(&self) -> GetRoleGrantsForPrincipalResponse
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 Ord for GetRoleGrantsForPrincipalResponse
impl Ord for GetRoleGrantsForPrincipalResponse
source§fn cmp(&self, other: &GetRoleGrantsForPrincipalResponse) -> Ordering
fn cmp(&self, other: &GetRoleGrantsForPrincipalResponse) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GetRoleGrantsForPrincipalResponse
impl PartialEq for GetRoleGrantsForPrincipalResponse
source§fn eq(&self, other: &GetRoleGrantsForPrincipalResponse) -> bool
fn eq(&self, other: &GetRoleGrantsForPrincipalResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for GetRoleGrantsForPrincipalResponse
impl PartialOrd for GetRoleGrantsForPrincipalResponse
source§fn partial_cmp(
&self,
other: &GetRoleGrantsForPrincipalResponse
) -> Option<Ordering>
fn partial_cmp( &self, other: &GetRoleGrantsForPrincipalResponse ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl TSerializable for GetRoleGrantsForPrincipalResponse
impl TSerializable for GetRoleGrantsForPrincipalResponse
fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol ) -> Result<GetRoleGrantsForPrincipalResponse>
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
impl Eq for GetRoleGrantsForPrincipalResponse
impl StructuralEq for GetRoleGrantsForPrincipalResponse
impl StructuralPartialEq for GetRoleGrantsForPrincipalResponse
Auto Trait Implementations§
impl RefUnwindSafe for GetRoleGrantsForPrincipalResponse
impl Send for GetRoleGrantsForPrincipalResponse
impl Sync for GetRoleGrantsForPrincipalResponse
impl Unpin for GetRoleGrantsForPrincipalResponse
impl UnwindSafe for GetRoleGrantsForPrincipalResponse
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