pub enum SetSessionAuthTarget {
Literal(Literal),
RoleRef(RoleRef),
SetSessionAuthDefault(SetSessionAuthDefault),
}Variants§
Trait Implementations§
Source§impl AstNode for SetSessionAuthTarget
impl AstNode for SetSessionAuthTarget
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 SetSessionAuthTarget
impl Clone for SetSessionAuthTarget
Source§fn clone(&self) -> SetSessionAuthTarget
fn clone(&self) -> SetSessionAuthTarget
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 SetSessionAuthTarget
impl Debug for SetSessionAuthTarget
impl Eq for SetSessionAuthTarget
Source§impl From<Literal> for SetSessionAuthTarget
impl From<Literal> for SetSessionAuthTarget
Source§fn from(node: Literal) -> SetSessionAuthTarget
fn from(node: Literal) -> SetSessionAuthTarget
Converts to this type from the input type.
Source§impl From<RoleRef> for SetSessionAuthTarget
impl From<RoleRef> for SetSessionAuthTarget
Source§fn from(node: RoleRef) -> SetSessionAuthTarget
fn from(node: RoleRef) -> SetSessionAuthTarget
Converts to this type from the input type.
Source§impl From<SetSessionAuthDefault> for SetSessionAuthTarget
impl From<SetSessionAuthDefault> for SetSessionAuthTarget
Source§fn from(node: SetSessionAuthDefault) -> SetSessionAuthTarget
fn from(node: SetSessionAuthDefault) -> SetSessionAuthTarget
Converts to this type from the input type.
Source§impl Hash for SetSessionAuthTarget
impl Hash for SetSessionAuthTarget
Source§impl PartialEq for SetSessionAuthTarget
impl PartialEq for SetSessionAuthTarget
impl StructuralPartialEq for SetSessionAuthTarget
Auto Trait Implementations§
impl !RefUnwindSafe for SetSessionAuthTarget
impl !Send for SetSessionAuthTarget
impl !Sync for SetSessionAuthTarget
impl !UnwindSafe for SetSessionAuthTarget
impl Freeze for SetSessionAuthTarget
impl Unpin for SetSessionAuthTarget
impl UnsafeUnpin for SetSessionAuthTarget
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