pub struct VersionedModule {
pub name: String,
pub version: ModuleVersion,
pub path: String,
pub is_active: bool,
}Expand description
Versioned module instance.
Fields§
§name: StringModule name.
version: ModuleVersionModule version.
path: StringModule path.
is_active: boolWhether this is the active version.
Trait Implementations§
Source§impl Clone for VersionedModule
impl Clone for VersionedModule
Source§fn clone(&self) -> VersionedModule
fn clone(&self) -> VersionedModule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VersionedModule
impl RefUnwindSafe for VersionedModule
impl Send for VersionedModule
impl Sync for VersionedModule
impl Unpin for VersionedModule
impl UnsafeUnpin for VersionedModule
impl UnwindSafe for VersionedModule
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