Struct scylladb_parse::GrantPermissionStatement
source · [−]pub struct GrantPermissionStatement {
pub permission: PermissionKind,
pub resource: Resource,
pub to: Name,
}Fields
permission: PermissionKindresource: Resourceto: NameTrait Implementations
sourceimpl Clone for GrantPermissionStatement
impl Clone for GrantPermissionStatement
sourcefn clone(&self) -> GrantPermissionStatement
fn clone(&self) -> GrantPermissionStatement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for GrantPermissionStatement
impl<'a> CustomToTokens<'a> for GrantPermissionStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for GrantPermissionStatement
impl Debug for GrantPermissionStatement
sourceimpl Display for GrantPermissionStatement
impl Display for GrantPermissionStatement
sourceimpl From<GrantPermissionStatement> for PermissionStatement
impl From<GrantPermissionStatement> for PermissionStatement
sourcefn from(original: GrantPermissionStatement) -> PermissionStatement
fn from(original: GrantPermissionStatement) -> PermissionStatement
Converts to this type from the input type.
sourceimpl From<GrantPermissionStatement> for Statement
impl From<GrantPermissionStatement> for Statement
sourcefn from(v: GrantPermissionStatement) -> Self
fn from(v: GrantPermissionStatement) -> Self
Converts to this type from the input type.
sourceimpl FromStr for GrantPermissionStatement
impl FromStr for GrantPermissionStatement
sourceimpl Parse for GrantPermissionStatement
impl Parse for GrantPermissionStatement
type Output = GrantPermissionStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<GrantPermissionStatement> for GrantPermissionStatement
impl PartialEq<GrantPermissionStatement> for GrantPermissionStatement
sourcefn eq(&self, other: &GrantPermissionStatement) -> bool
fn eq(&self, other: &GrantPermissionStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GrantPermissionStatement) -> bool
fn ne(&self, other: &GrantPermissionStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for GrantPermissionStatement
impl ToTokens for GrantPermissionStatement
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourceimpl TryInto<GrantPermissionStatement> for Statement
impl TryInto<GrantPermissionStatement> for Statement
impl Eq for GrantPermissionStatement
impl StructuralEq for GrantPermissionStatement
impl StructuralPartialEq for GrantPermissionStatement
Auto Trait Implementations
impl RefUnwindSafe for GrantPermissionStatement
impl Send for GrantPermissionStatement
impl Sync for GrantPermissionStatement
impl Unpin for GrantPermissionStatement
impl UnwindSafe for GrantPermissionStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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