pub struct VtabRiskLevel {
pub innocuous: bool,
pub direct_only: bool,
pub uses_all_schemas: bool,
}Expand description
Defensive/risk metadata analogous to SQLite’s vtab safety flags.
Fields§
§innocuous: boolSafe to invoke in defensive contexts.
direct_only: boolMust not be invoked from schema or trigger contexts.
uses_all_schemas: boolMay consult objects outside the current schema.
Implementations§
Source§impl VtabRiskLevel
impl VtabRiskLevel
Trait Implementations§
Source§impl Clone for VtabRiskLevel
impl Clone for VtabRiskLevel
Source§fn clone(&self) -> VtabRiskLevel
fn clone(&self) -> VtabRiskLevel
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 VtabRiskLevel
impl Debug for VtabRiskLevel
Source§impl Default for VtabRiskLevel
impl Default for VtabRiskLevel
Source§fn default() -> VtabRiskLevel
fn default() -> VtabRiskLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for VtabRiskLevel
impl PartialEq for VtabRiskLevel
Source§fn eq(&self, other: &VtabRiskLevel) -> bool
fn eq(&self, other: &VtabRiskLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VtabRiskLevel
impl Eq for VtabRiskLevel
impl StructuralPartialEq for VtabRiskLevel
Auto Trait Implementations§
impl Freeze for VtabRiskLevel
impl RefUnwindSafe for VtabRiskLevel
impl Send for VtabRiskLevel
impl Sync for VtabRiskLevel
impl Unpin for VtabRiskLevel
impl UnsafeUnpin for VtabRiskLevel
impl UnwindSafe for VtabRiskLevel
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