pub struct DefineModuleStatement {
pub kind: DefineKind,
pub name: Option<Ident>,
pub executable: ModuleExecutable,
pub unsigned: bool,
pub comment: Expr,
pub permissions: Permission,
}Fields§
§kind: DefineKind§name: Option<Ident>§executable: ModuleExecutable§unsigned: boolWhether the module is loaded without verifying a signature.
Spelled as a trailing UNSIGNED clause, unordered with COMMENT and
PERMISSIONS. Signature verification is not yet implemented for any
executable form, so every module currently has to opt out of it
explicitly and this is always true for a freshly parsed statement.
false is therefore not expressible in the grammar and would not
survive a render/reparse round trip, which is why the fuzzer is pinned
to true rather than left to generate either.
comment: Expr§permissions: PermissionTrait Implementations§
Source§impl Clone for DefineModuleStatement
impl Clone for DefineModuleStatement
Source§impl Debug for DefineModuleStatement
impl Debug for DefineModuleStatement
impl Eq for DefineModuleStatement
Source§impl PartialEq for DefineModuleStatement
impl PartialEq for DefineModuleStatement
impl StructuralPartialEq for DefineModuleStatement
Source§impl ToSql for DefineModuleStatement
impl ToSql for DefineModuleStatement
Auto Trait Implementations§
impl !Freeze for DefineModuleStatement
impl RefUnwindSafe for DefineModuleStatement
impl Send for DefineModuleStatement
impl Sync for DefineModuleStatement
impl Unpin for DefineModuleStatement
impl UnsafeUnpin for DefineModuleStatement
impl UnwindSafe for DefineModuleStatement
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.