pub enum RoleOption {
RoleOptionAdmin(RoleOptionAdmin),
RoleOptionConnectionLimit(RoleOptionConnectionLimit),
RoleOptionEncryptedPassword(RoleOptionEncryptedPassword),
RoleOptionGeneric(RoleOptionGeneric),
RoleOptionInGroup(RoleOptionInGroup),
RoleOptionInRole(RoleOptionInRole),
RoleOptionInherit(RoleOptionInherit),
RoleOptionPassword(RoleOptionPassword),
RoleOptionRole(RoleOptionRole),
RoleOptionSysid(RoleOptionSysid),
RoleOptionUser(RoleOptionUser),
RoleOptionValidUntil(RoleOptionValidUntil),
}Variants§
RoleOptionAdmin(RoleOptionAdmin)
RoleOptionConnectionLimit(RoleOptionConnectionLimit)
RoleOptionEncryptedPassword(RoleOptionEncryptedPassword)
RoleOptionGeneric(RoleOptionGeneric)
RoleOptionInGroup(RoleOptionInGroup)
RoleOptionInRole(RoleOptionInRole)
RoleOptionInherit(RoleOptionInherit)
RoleOptionPassword(RoleOptionPassword)
RoleOptionRole(RoleOptionRole)
RoleOptionSysid(RoleOptionSysid)
RoleOptionUser(RoleOptionUser)
RoleOptionValidUntil(RoleOptionValidUntil)
Trait Implementations§
Source§impl AstNode for RoleOption
impl AstNode for RoleOption
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 Clone for RoleOption
impl Clone for RoleOption
Source§fn clone(&self) -> RoleOption
fn clone(&self) -> RoleOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RoleOption
impl Debug for RoleOption
impl Eq for RoleOption
Source§impl From<RoleOptionAdmin> for RoleOption
impl From<RoleOptionAdmin> for RoleOption
Source§fn from(node: RoleOptionAdmin) -> RoleOption
fn from(node: RoleOptionAdmin) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionConnectionLimit> for RoleOption
impl From<RoleOptionConnectionLimit> for RoleOption
Source§fn from(node: RoleOptionConnectionLimit) -> RoleOption
fn from(node: RoleOptionConnectionLimit) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionEncryptedPassword> for RoleOption
impl From<RoleOptionEncryptedPassword> for RoleOption
Source§fn from(node: RoleOptionEncryptedPassword) -> RoleOption
fn from(node: RoleOptionEncryptedPassword) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionGeneric> for RoleOption
impl From<RoleOptionGeneric> for RoleOption
Source§fn from(node: RoleOptionGeneric) -> RoleOption
fn from(node: RoleOptionGeneric) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionInGroup> for RoleOption
impl From<RoleOptionInGroup> for RoleOption
Source§fn from(node: RoleOptionInGroup) -> RoleOption
fn from(node: RoleOptionInGroup) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionInRole> for RoleOption
impl From<RoleOptionInRole> for RoleOption
Source§fn from(node: RoleOptionInRole) -> RoleOption
fn from(node: RoleOptionInRole) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionInherit> for RoleOption
impl From<RoleOptionInherit> for RoleOption
Source§fn from(node: RoleOptionInherit) -> RoleOption
fn from(node: RoleOptionInherit) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionPassword> for RoleOption
impl From<RoleOptionPassword> for RoleOption
Source§fn from(node: RoleOptionPassword) -> RoleOption
fn from(node: RoleOptionPassword) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionRole> for RoleOption
impl From<RoleOptionRole> for RoleOption
Source§fn from(node: RoleOptionRole) -> RoleOption
fn from(node: RoleOptionRole) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionSysid> for RoleOption
impl From<RoleOptionSysid> for RoleOption
Source§fn from(node: RoleOptionSysid) -> RoleOption
fn from(node: RoleOptionSysid) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionUser> for RoleOption
impl From<RoleOptionUser> for RoleOption
Source§fn from(node: RoleOptionUser) -> RoleOption
fn from(node: RoleOptionUser) -> RoleOption
Converts to this type from the input type.
Source§impl From<RoleOptionValidUntil> for RoleOption
impl From<RoleOptionValidUntil> for RoleOption
Source§fn from(node: RoleOptionValidUntil) -> RoleOption
fn from(node: RoleOptionValidUntil) -> RoleOption
Converts to this type from the input type.
Source§impl Hash for RoleOption
impl Hash for RoleOption
Source§impl PartialEq for RoleOption
impl PartialEq for RoleOption
impl StructuralPartialEq for RoleOption
Auto Trait Implementations§
impl !RefUnwindSafe for RoleOption
impl !Send for RoleOption
impl !Sync for RoleOption
impl !UnwindSafe for RoleOption
impl Freeze for RoleOption
impl Unpin for RoleOption
impl UnsafeUnpin for RoleOption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more