pub struct ComponentLockEntry {
pub identity: ComponentIdentity,
pub provides: Vec<ComponentProvidedContract>,
pub mode: ComponentDeliveryMode,
pub url: String,
pub sha256: String,
pub size: u64,
pub manifest_sha256: String,
pub key_id: String,
}Fields§
§identity: ComponentIdentity§provides: Vec<ComponentProvidedContract>Every contract this component provides, mirrored from the manifest so a consumer can inspect them without downloading and parsing the archive.
mode: ComponentDeliveryModeWhether identity.target downloads this artifact or must link it into the
binding. Every entry produced by alef component lock today is Download;
no backend builds or locks a Bundled artifact yet.
url: String§sha256: String§size: u64§manifest_sha256: String§key_id: StringTrait Implementations§
Source§impl Clone for ComponentLockEntry
impl Clone for ComponentLockEntry
Source§impl Debug for ComponentLockEntry
impl Debug for ComponentLockEntry
Source§impl<'de> Deserialize<'de> for ComponentLockEntry
impl<'de> Deserialize<'de> for ComponentLockEntry
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
impl Eq for ComponentLockEntry
Source§impl PartialEq for ComponentLockEntry
impl PartialEq for ComponentLockEntry
Source§impl Serialize for ComponentLockEntry
impl Serialize for ComponentLockEntry
impl StructuralPartialEq for ComponentLockEntry
Auto Trait Implementations§
impl Freeze for ComponentLockEntry
impl RefUnwindSafe for ComponentLockEntry
impl Send for ComponentLockEntry
impl Sync for ComponentLockEntry
impl Unpin for ComponentLockEntry
impl UnsafeUnpin for ComponentLockEntry
impl UnwindSafe for ComponentLockEntry
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