pub enum CreateViewSecurity {
Definer,
Invoker,
}Expand description
MySQL CREATE VIEW security parameter: [SQL SECURITY { DEFINER | INVOKER }]
MySQL CREATE VIEW SQL SECURITY options.
Variants§
Definer
The view runs with the privileges of the definer.
Invoker
The view runs with the privileges of the invoker.
Trait Implementations§
Source§impl Clone for CreateViewSecurity
impl Clone for CreateViewSecurity
Source§fn clone(&self) -> CreateViewSecurity
fn clone(&self) -> CreateViewSecurity
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateViewSecurity
impl Debug for CreateViewSecurity
Source§impl Display for CreateViewSecurity
impl Display for CreateViewSecurity
Source§impl Hash for CreateViewSecurity
impl Hash for CreateViewSecurity
Source§impl Ord for CreateViewSecurity
impl Ord for CreateViewSecurity
Source§fn cmp(&self, other: &CreateViewSecurity) -> Ordering
fn cmp(&self, other: &CreateViewSecurity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CreateViewSecurity
impl PartialEq for CreateViewSecurity
Source§impl PartialOrd for CreateViewSecurity
impl PartialOrd for CreateViewSecurity
Source§impl Visit for CreateViewSecurity
impl Visit for CreateViewSecurity
Source§impl VisitMut for CreateViewSecurity
impl VisitMut for CreateViewSecurity
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for CreateViewSecurity
impl StructuralPartialEq for CreateViewSecurity
Auto Trait Implementations§
impl Freeze for CreateViewSecurity
impl RefUnwindSafe for CreateViewSecurity
impl Send for CreateViewSecurity
impl Sync for CreateViewSecurity
impl Unpin for CreateViewSecurity
impl UnsafeUnpin for CreateViewSecurity
impl UnwindSafe for CreateViewSecurity
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