Struct cql3_parser::common::Privilege
source · [−]pub struct Privilege {
pub privilege: PrivilegeType,
pub resource: Option<Resource>,
pub role: Option<String>,
}Expand description
data item used in Grant, ListPermissions and Revoke statements.
Fields
privilege: PrivilegeTypethe privilege that is being manipulated
resource: Option<Resource>the resource on which the permission is applied
role: Option<String>the role name that tis being modified.
Trait Implementations
impl StructuralPartialEq for Privilege
Auto Trait Implementations
impl RefUnwindSafe for Privilege
impl Send for Privilege
impl Sync for Privilege
impl Unpin for Privilege
impl UnwindSafe for Privilege
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more