pub struct CapabilityBundleHeader {
pub abi_version: PolicyAbiVersion,
pub bundle_version: String,
pub created_at: DateTime<Utc>,
pub content_digest: String,
pub metadata: CapabilityBundleMetadata,
}Expand description
Capability bundle header with ABI version information
Fields§
§abi_version: PolicyAbiVersionABI version of this bundle
bundle_version: StringBundle format version (separate from ABI)
created_at: DateTime<Utc>Bundle creation timestamp
content_digest: StringSHA256 digest of bundle content (excluding header)
metadata: CapabilityBundleMetadataBundle metadata
Trait Implementations§
Source§impl Clone for CapabilityBundleHeader
impl Clone for CapabilityBundleHeader
Source§fn clone(&self) -> CapabilityBundleHeader
fn clone(&self) -> CapabilityBundleHeader
Returns a duplicate of the value. Read more
1.0.0 · 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 CapabilityBundleHeader
impl Debug for CapabilityBundleHeader
Source§impl<'de> Deserialize<'de> for CapabilityBundleHeader
impl<'de> Deserialize<'de> for CapabilityBundleHeader
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
Auto Trait Implementations§
impl Freeze for CapabilityBundleHeader
impl RefUnwindSafe for CapabilityBundleHeader
impl Send for CapabilityBundleHeader
impl Sync for CapabilityBundleHeader
impl Unpin for CapabilityBundleHeader
impl UnsafeUnpin for CapabilityBundleHeader
impl UnwindSafe for CapabilityBundleHeader
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