pub struct GrantPermissionStatement {
pub permission: PermissionKind,
pub resource: Resource,
pub to: Name,
}
Fields§
§permission: PermissionKind
§resource: Resource
§to: Name
Trait Implementations§
Source§impl Clone for GrantPermissionStatement
impl Clone for GrantPermissionStatement
Source§fn clone(&self) -> GrantPermissionStatement
fn clone(&self) -> GrantPermissionStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for GrantPermissionStatement
impl<'a> CustomToTokens<'a> for GrantPermissionStatement
Source§impl Debug for GrantPermissionStatement
impl Debug for GrantPermissionStatement
Source§impl Display for GrantPermissionStatement
impl Display for GrantPermissionStatement
Source§impl From<GrantPermissionStatement> for PermissionStatement
impl From<GrantPermissionStatement> for PermissionStatement
Source§fn from(original: GrantPermissionStatement) -> PermissionStatement
fn from(original: GrantPermissionStatement) -> PermissionStatement
Converts to this type from the input type.
Source§impl From<GrantPermissionStatement> for Statement
impl From<GrantPermissionStatement> for Statement
Source§fn from(v: GrantPermissionStatement) -> Self
fn from(v: GrantPermissionStatement) -> Self
Converts to this type from the input type.
Source§impl FromStr for GrantPermissionStatement
impl FromStr for GrantPermissionStatement
Source§impl Parse for GrantPermissionStatement
impl Parse for GrantPermissionStatement
type Output = GrantPermissionStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for GrantPermissionStatement
impl PartialEq for GrantPermissionStatement
Source§fn eq(&self, other: &GrantPermissionStatement) -> bool
fn eq(&self, other: &GrantPermissionStatement) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ToTokens for GrantPermissionStatement
impl ToTokens for GrantPermissionStatement
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Source§impl TryInto<GrantPermissionStatement> for Statement
impl TryInto<GrantPermissionStatement> for Statement
impl Eq for GrantPermissionStatement
impl StructuralPartialEq for GrantPermissionStatement
Auto Trait Implementations§
impl Freeze for GrantPermissionStatement
impl RefUnwindSafe for GrantPermissionStatement
impl Send for GrantPermissionStatement
impl Sync for GrantPermissionStatement
impl Unpin for GrantPermissionStatement
impl UnwindSafe for GrantPermissionStatement
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