pub struct CacheReceipt {
pub schema: u32,
pub context: String,
pub principal: String,
pub version: String,
pub target: String,
pub object_sha256: String,
pub object_bytes: u64,
pub tarball_sha256: String,
}Expand description
Provenance/binding facts for one cached object. Digests and identity only — never source payloads or credentials.
Fields§
§schema: u32§context: StringEndpoint context this deployment was authorized for.
principal: StringPrincipal the deployment runs as.
version: StringExact release the object was deployed from (== the client’s).
target: StringTarget triple the object was built for (== the endpoint’s).
object_sha256: StringContent address: sha256 of the object bytes.
object_bytes: u64§tarball_sha256: StringProvenance anchor: sha256 of the release-catalog tarball these bytes were verified against.
Trait Implementations§
Source§impl Clone for CacheReceipt
impl Clone for CacheReceipt
Source§impl Debug for CacheReceipt
impl Debug for CacheReceipt
Source§impl<'de> Deserialize<'de> for CacheReceipt
impl<'de> Deserialize<'de> for CacheReceipt
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 CacheReceipt
Source§impl PartialEq for CacheReceipt
impl PartialEq for CacheReceipt
Source§impl Serialize for CacheReceipt
impl Serialize for CacheReceipt
impl StructuralPartialEq for CacheReceipt
Auto Trait Implementations§
impl Freeze for CacheReceipt
impl RefUnwindSafe for CacheReceipt
impl Send for CacheReceipt
impl Sync for CacheReceipt
impl Unpin for CacheReceipt
impl UnsafeUnpin for CacheReceipt
impl UnwindSafe for CacheReceipt
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