pub struct DefineModuleStatement {
pub kind: DefineKind,
pub name: Option<String>,
pub executable: ModuleExecutable,
pub unsigned: bool,
pub comment: Expr,
pub permissions: Permission,
}Fields§
§kind: DefineKind§name: Option<String>§executable: ModuleExecutable§unsigned: bool§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 From<DefineModuleStatement> for DefineModuleStatement
impl From<DefineModuleStatement> for DefineModuleStatement
Source§fn from(v: DefineModuleStatement) -> Self
fn from(v: DefineModuleStatement) -> Self
Converts to this type from the input type.
Source§impl From<DefineModuleStatement> for DefineModuleStatement
impl From<DefineModuleStatement> for DefineModuleStatement
Source§fn from(v: DefineModuleStatement) -> Self
fn from(v: DefineModuleStatement) -> Self
Converts to this type from the input type.
Source§impl Hash for DefineModuleStatement
impl Hash for DefineModuleStatement
Source§impl PartialEq for DefineModuleStatement
impl PartialEq for DefineModuleStatement
impl StructuralPartialEq for DefineModuleStatement
Source§impl<'a> TryFrom<&'a DefineModuleStatement> for ModuleName
impl<'a> TryFrom<&'a DefineModuleStatement> for ModuleName
Source§impl<V: Visitor> Visit<V> for DefineModuleStatement
impl<V: Visitor> Visit<V> 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.