pub struct LiteModule {
pub id: ModuleId,
pub stable_id: StableModuleId,
pub kind: ModuleKind,
pub is_complete: bool,
}
Expand description
Minimal information about a module.
Fields§
§id: ModuleId
The module’s unique ID.
stable_id: StableModuleId
ID that doesn’t change when publishing.
kind: ModuleKind
Which kind of module this is.
is_complete: bool
Whether this module is completed.
Trait Implementations§
Source§impl Clone for LiteModule
impl Clone for LiteModule
Source§fn clone(&self) -> LiteModule
fn clone(&self) -> LiteModule
Returns a copy 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 moreSource§impl Debug for LiteModule
impl Debug for LiteModule
Source§impl<'de> Deserialize<'de> for LiteModule
impl<'de> Deserialize<'de> for LiteModule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LiteModule
impl RefUnwindSafe for LiteModule
impl Send for LiteModule
impl Sync for LiteModule
impl Unpin for LiteModule
impl UnwindSafe for LiteModule
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