pub struct PackageSidecarSnapshot {
pub sidecar_id: String,
pub kind: String,
pub version: String,
pub refs: Vec<PackageSidecarRef>,
pub policy_refs: Vec<PolicyRef>,
pub content_hash: String,
}Expand description
Describes the package sidecar snapshot 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§
§sidecar_id: StringIdentifier for the typed package sidecar.
kind: StringKind/category for this record, capability, event, or detected resource.
version: StringVersion string for this capability, package, or protocol surface. Use it for compatibility checks during package or adapter resolution.
refs: Vec<PackageSidecarRef>References associated with refs. Resolve them through the appropriate registry or content store before using referenced data.
policy_refs: Vec<PolicyRef>Policy references that govern admission, projection, execution, or delivery.
content_hash: StringStable hash for the bytes or canonical payload used for stale checks and fingerprints.
Trait Implementations§
Source§impl Clone for PackageSidecarSnapshot
impl Clone for PackageSidecarSnapshot
Source§fn clone(&self) -> PackageSidecarSnapshot
fn clone(&self) -> PackageSidecarSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PackageSidecarSnapshot
impl Debug for PackageSidecarSnapshot
Source§impl<'de> Deserialize<'de> for PackageSidecarSnapshot
impl<'de> Deserialize<'de> for PackageSidecarSnapshot
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>,
Source§impl PartialEq for PackageSidecarSnapshot
impl PartialEq for PackageSidecarSnapshot
Source§fn eq(&self, other: &PackageSidecarSnapshot) -> bool
fn eq(&self, other: &PackageSidecarSnapshot) -> bool
self and other values to be equal, and is used by ==.