pub struct PackageSidecarRef {
pub sidecar_id: String,
pub kind: String,
pub version: String,
pub content_hash: Option<String>,
}Expand description
Describes the package sidecar ref 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.
content_hash: Option<String>Stable hash for the bytes or canonical payload used for stale checks and fingerprints.
Implementations§
Trait Implementations§
Source§impl Clone for PackageSidecarRef
impl Clone for PackageSidecarRef
Source§fn clone(&self) -> PackageSidecarRef
fn clone(&self) -> PackageSidecarRef
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 PackageSidecarRef
impl Debug for PackageSidecarRef
Source§impl<'de> Deserialize<'de> for PackageSidecarRef
impl<'de> Deserialize<'de> for PackageSidecarRef
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
Source§impl PartialEq for PackageSidecarRef
impl PartialEq for PackageSidecarRef
Source§fn eq(&self, other: &PackageSidecarRef) -> bool
fn eq(&self, other: &PackageSidecarRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PackageSidecarRef
impl Serialize for PackageSidecarRef
impl Eq for PackageSidecarRef
impl StructuralPartialEq for PackageSidecarRef
Auto Trait Implementations§
impl Freeze for PackageSidecarRef
impl RefUnwindSafe for PackageSidecarRef
impl Send for PackageSidecarRef
impl Sync for PackageSidecarRef
impl Unpin for PackageSidecarRef
impl UnsafeUnpin for PackageSidecarRef
impl UnwindSafe for PackageSidecarRef
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