pub struct Module {
pub path: Vec<String>,
pub module: ContractModule,
}Expand description
One module of a generated contract.
Fields§
§path: Vec<String>Its module path under contract/, a segment each: empty for
lib.flow, ["models"] for models.flow.
module: ContractModuleThe module.
Trait Implementations§
impl Eq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl Forget for Module
impl Freeze for Modulewhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Import>: Freeze,
PhantomData<Item>: Freeze,
impl Move for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnsafeUnpin for Modulewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Import>: UnsafeUnpin,
PhantomData<Item>: UnsafeUnpin,
impl UnwindSafe for Module
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