pub struct AlterUserStatement {
pub name: Expr,
pub base: Base,
pub if_exists: bool,
pub pass_type: Option<PassType>,
pub scram: Option<String>,
pub roles: AlterKind<Vec<String>>,
pub token_duration: AlterKind<Duration>,
pub session_duration: AlterKind<Duration>,
pub comment: AlterKind<String>,
}Expand description
AST node for ALTER USER.
Fields§
§name: Expr§base: Base§if_exists: bool§pass_type: Option<PassType>§scram: Option<String>Explicit SCRAM verifier string (PASSSCRAM). Mostly for symmetry with
DEFINE USER; import always emits DEFINE.
roles: AlterKind<Vec<String>>§token_duration: AlterKind<Duration>§session_duration: AlterKind<Duration>§comment: AlterKind<String>Trait Implementations§
Source§impl Clone for AlterUserStatement
impl Clone for AlterUserStatement
Source§impl Debug for AlterUserStatement
impl Debug for AlterUserStatement
Source§impl Default for AlterUserStatement
impl Default for AlterUserStatement
impl Eq for AlterUserStatement
Source§impl PartialEq for AlterUserStatement
impl PartialEq for AlterUserStatement
impl StructuralPartialEq for AlterUserStatement
Auto Trait Implementations§
impl !Freeze for AlterUserStatement
impl RefUnwindSafe for AlterUserStatement
impl Send for AlterUserStatement
impl Sync for AlterUserStatement
impl Unpin for AlterUserStatement
impl UnsafeUnpin for AlterUserStatement
impl UnwindSafe for AlterUserStatement
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.