pub struct Grant { /* private fields */ }Implementations§
Source§impl Grant
impl Grant
pub fn name_refs(&self) -> AstChildren<NameRef> ⓘ
pub fn paths(&self) -> AstChildren<Path> ⓘ
pub fn revoke_command_list(&self) -> Option<RevokeCommandList>
pub fn role(&self) -> Option<Role>
pub fn role_list(&self) -> Option<RoleList>
pub fn all_token(&self) -> Option<SyntaxToken>
pub fn by_token(&self) -> Option<SyntaxToken>
pub fn grant_token(&self) -> Option<SyntaxToken>
pub fn granted_token(&self) -> Option<SyntaxToken>
pub fn in_token(&self) -> Option<SyntaxToken>
pub fn on_token(&self) -> Option<SyntaxToken>
pub fn option_token(&self) -> Option<SyntaxToken>
pub fn privileges_token(&self) -> Option<SyntaxToken>
pub fn schema_token(&self) -> Option<SyntaxToken>
pub fn table_token(&self) -> Option<SyntaxToken>
pub fn tables_token(&self) -> Option<SyntaxToken>
pub fn to_token(&self) -> Option<SyntaxToken>
pub fn with_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for Grant
impl AstNode for Grant
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl From<Grant> for SchemaElement
impl From<Grant> for SchemaElement
Source§fn from(node: Grant) -> SchemaElement
fn from(node: Grant) -> SchemaElement
Converts to this type from the input type.
impl Eq for Grant
impl StructuralPartialEq for Grant
Auto Trait Implementations§
impl Freeze for Grant
impl !RefUnwindSafe for Grant
impl !Send for Grant
impl !Sync for Grant
impl Unpin for Grant
impl !UnwindSafe for Grant
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