pub struct ModuleBuild {
pub id: String,
pub protocol_package: String,
pub protocol_path: PathBuf,
pub protocol_module: String,
pub engine_package: String,
pub engine_path: PathBuf,
pub engine_type: String,
pub optional: bool,
pub enabled: bool,
pub depends: Vec<String>,
}Expand description
The crates of one application module, for the generated glue.
Fields§
§id: String§protocol_package: String§protocol_path: PathBuf§protocol_module: StringRust path of the module’s protocol module, e.g. downloads_protocol::downloads.
engine_package: String§engine_path: PathBuf§engine_type: StringRust path of the module engine type, which implements Default.
optional: boolWhether the module can be switched off at run time.
enabled: boolWhether an optional module runs before the application saved a choice.
depends: Vec<String>Trait Implementations§
Source§impl Clone for ModuleBuild
impl Clone for ModuleBuild
Auto Trait Implementations§
impl Freeze for ModuleBuild
impl RefUnwindSafe for ModuleBuild
impl Send for ModuleBuild
impl Sync for ModuleBuild
impl Unpin for ModuleBuild
impl UnsafeUnpin for ModuleBuild
impl UnwindSafe for ModuleBuild
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