pub struct PackageDelta {
pub previous_fingerprint: RuntimePackageFingerprint,
pub requested_by: SourceRef,
pub reason: String,
pub activated_capabilities: Vec<CapabilitySpec>,
pub deactivated_capability_ids: Vec<CapabilityId>,
pub catalogs: Vec<CapabilityCatalogSnapshot>,
pub sidecars: Vec<PackageSidecarSnapshot>,
}Expand description
Describes the package delta portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Fields§
§previous_fingerprint: RuntimePackageFingerprintFingerprint of the package snapshot that a delta was computed against.
requested_by: SourceRefSource that requested this package delta, activation, or side effect.
reason: StringRedacted explanation for a denial, failure, status, or package delta.
activated_capabilities: Vec<CapabilitySpec>Capabilities that a package delta proposes to add to the next snapshot.
deactivated_capability_ids: Vec<CapabilityId>Capability identifiers that a package delta proposes to remove from the next snapshot.
catalogs: Vec<CapabilityCatalogSnapshot>Catalog snapshots contributed to or returned with a runtime package delta.
sidecars: Vec<PackageSidecarSnapshot>Typed sidecar snapshots included in a package or delta.
Trait Implementations§
Source§impl Clone for PackageDelta
impl Clone for PackageDelta
Source§fn clone(&self) -> PackageDelta
fn clone(&self) -> PackageDelta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PackageDelta
impl Debug for PackageDelta
Source§impl<'de> Deserialize<'de> for PackageDelta
impl<'de> Deserialize<'de> for PackageDelta
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 PackageDelta
Source§impl PartialEq for PackageDelta
impl PartialEq for PackageDelta
Source§fn eq(&self, other: &PackageDelta) -> bool
fn eq(&self, other: &PackageDelta) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PackageDelta
impl Serialize for PackageDelta
impl StructuralPartialEq for PackageDelta
Auto Trait Implementations§
impl Freeze for PackageDelta
impl RefUnwindSafe for PackageDelta
impl Send for PackageDelta
impl Sync for PackageDelta
impl Unpin for PackageDelta
impl UnsafeUnpin for PackageDelta
impl UnwindSafe for PackageDelta
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