pub struct ModuleLockEntry {
pub name: String,
pub url: String,
pub pinned_ref: String,
pub commit: String,
pub integrity: String,
pub subdir: Option<String>,
}Expand description
A single locked remote module.
Fields§
§name: StringModule name (matches metadata.name in the module spec).
url: StringGit URL of the remote module repository.
pinned_ref: StringPinned git ref — tag or commit SHA (branches not allowed for remote modules).
commit: StringResolved commit SHA at the time of locking.
integrity: StringSHA-256 hash of the module directory contents for integrity verification.
subdir: Option<String>Subdirectory within the repo containing the module.
Trait Implementations§
Source§impl Clone for ModuleLockEntry
impl Clone for ModuleLockEntry
Source§fn clone(&self) -> ModuleLockEntry
fn clone(&self) -> ModuleLockEntry
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 moreSource§impl Debug for ModuleLockEntry
impl Debug for ModuleLockEntry
Source§impl<'de> Deserialize<'de> for ModuleLockEntry
impl<'de> Deserialize<'de> for ModuleLockEntry
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 ModuleLockEntry
impl RefUnwindSafe for ModuleLockEntry
impl Send for ModuleLockEntry
impl Sync for ModuleLockEntry
impl Unpin for ModuleLockEntry
impl UnsafeUnpin for ModuleLockEntry
impl UnwindSafe for ModuleLockEntry
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