Struct nektar::GrantRevokePrivilegeRequest
source · pub struct GrantRevokePrivilegeRequest {
pub request_type: Option<GrantRevokeType>,
pub privileges: Option<PrivilegeBag>,
pub revoke_grant_option: Option<bool>,
}Fields§
§request_type: Option<GrantRevokeType>§privileges: Option<PrivilegeBag>§revoke_grant_option: Option<bool>Implementations§
source§impl GrantRevokePrivilegeRequest
impl GrantRevokePrivilegeRequest
pub fn new<F1, F2, F3>( request_type: F1, privileges: F2, revoke_grant_option: F3 ) -> GrantRevokePrivilegeRequest
Trait Implementations§
source§impl Clone for GrantRevokePrivilegeRequest
impl Clone for GrantRevokePrivilegeRequest
source§fn clone(&self) -> GrantRevokePrivilegeRequest
fn clone(&self) -> GrantRevokePrivilegeRequest
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 GrantRevokePrivilegeRequest
impl Debug for GrantRevokePrivilegeRequest
source§impl Default for GrantRevokePrivilegeRequest
impl Default for GrantRevokePrivilegeRequest
source§fn default() -> GrantRevokePrivilegeRequest
fn default() -> GrantRevokePrivilegeRequest
Returns the “default value” for a type. Read more
source§impl Hash for GrantRevokePrivilegeRequest
impl Hash for GrantRevokePrivilegeRequest
source§impl Ord for GrantRevokePrivilegeRequest
impl Ord for GrantRevokePrivilegeRequest
source§fn cmp(&self, other: &GrantRevokePrivilegeRequest) -> Ordering
fn cmp(&self, other: &GrantRevokePrivilegeRequest) -> 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 GrantRevokePrivilegeRequest
impl PartialEq for GrantRevokePrivilegeRequest
source§fn eq(&self, other: &GrantRevokePrivilegeRequest) -> bool
fn eq(&self, other: &GrantRevokePrivilegeRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for GrantRevokePrivilegeRequest
impl PartialOrd for GrantRevokePrivilegeRequest
source§fn partial_cmp(&self, other: &GrantRevokePrivilegeRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GrantRevokePrivilegeRequest) -> 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 GrantRevokePrivilegeRequest
impl TSerializable for GrantRevokePrivilegeRequest
fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol ) -> Result<GrantRevokePrivilegeRequest>
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
impl Eq for GrantRevokePrivilegeRequest
impl StructuralEq for GrantRevokePrivilegeRequest
impl StructuralPartialEq for GrantRevokePrivilegeRequest
Auto Trait Implementations§
impl RefUnwindSafe for GrantRevokePrivilegeRequest
impl Send for GrantRevokePrivilegeRequest
impl Sync for GrantRevokePrivilegeRequest
impl Unpin for GrantRevokePrivilegeRequest
impl UnwindSafe for GrantRevokePrivilegeRequest
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