pub struct GetRoleGrantsForPrincipalRequest {
pub principal_name: FastStr,
pub principal_type: PrincipalType,
}
Fields§
§principal_name: FastStr
§principal_type: PrincipalType
Trait Implementations§
source§impl Clone for GetRoleGrantsForPrincipalRequest
impl Clone for GetRoleGrantsForPrincipalRequest
source§fn clone(&self) -> GetRoleGrantsForPrincipalRequest
fn clone(&self) -> GetRoleGrantsForPrincipalRequest
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 Default for GetRoleGrantsForPrincipalRequest
impl Default for GetRoleGrantsForPrincipalRequest
source§fn default() -> GetRoleGrantsForPrincipalRequest
fn default() -> GetRoleGrantsForPrincipalRequest
Returns the “default value” for a type. Read more
source§impl Message for GetRoleGrantsForPrincipalRequest
impl Message for GetRoleGrantsForPrincipalRequest
fn encode<T: TOutputProtocol>( &self, protocol: &mut T, ) -> Result<(), ThriftException>
fn decode<T: TInputProtocol>(protocol: &mut T) -> Result<Self, ThriftException>
fn decode_async<'a, T: TAsyncInputProtocol>( protocol: &'a mut T, ) -> Pin<Box<dyn Future<Output = Result<Self, ThriftException>> + Send + 'a>>
fn size<T: TLengthProtocol>(&self, protocol: &mut T) -> usize
source§impl Ord for GetRoleGrantsForPrincipalRequest
impl Ord for GetRoleGrantsForPrincipalRequest
source§fn cmp(&self, other: &GetRoleGrantsForPrincipalRequest) -> Ordering
fn cmp(&self, other: &GetRoleGrantsForPrincipalRequest) -> 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 GetRoleGrantsForPrincipalRequest
impl PartialEq for GetRoleGrantsForPrincipalRequest
source§fn eq(&self, other: &GetRoleGrantsForPrincipalRequest) -> bool
fn eq(&self, other: &GetRoleGrantsForPrincipalRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetRoleGrantsForPrincipalRequest
impl PartialOrd for GetRoleGrantsForPrincipalRequest
source§fn partial_cmp(
&self,
other: &GetRoleGrantsForPrincipalRequest,
) -> Option<Ordering>
fn partial_cmp( &self, other: &GetRoleGrantsForPrincipalRequest, ) -> 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 moreimpl Eq for GetRoleGrantsForPrincipalRequest
impl StructuralPartialEq for GetRoleGrantsForPrincipalRequest
Auto Trait Implementations§
impl !Freeze for GetRoleGrantsForPrincipalRequest
impl RefUnwindSafe for GetRoleGrantsForPrincipalRequest
impl Send for GetRoleGrantsForPrincipalRequest
impl Sync for GetRoleGrantsForPrincipalRequest
impl Unpin for GetRoleGrantsForPrincipalRequest
impl UnwindSafe for GetRoleGrantsForPrincipalRequest
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