pub struct CapabilityDigest {
pub digest: String,
pub content_hash: String,
pub size: u64,
pub timestamp: DateTime<Utc>,
pub version: String,
pub metadata: HashMap<String, String>,
}Expand description
Capability bundle digest with metadata
Fields§
§digest: StringSHA-256 digest of the capability bundle
content_hash: StringBundle content hash (deterministic)
size: u64Bundle size in bytes
timestamp: DateTime<Utc>Timestamp when digest was computed
version: StringCapability bundle version
metadata: HashMap<String, String>Additional metadata
Trait Implementations§
Source§impl Clone for CapabilityDigest
impl Clone for CapabilityDigest
Source§impl Debug for CapabilityDigest
impl Debug for CapabilityDigest
Source§impl<'de> Deserialize<'de> for CapabilityDigest
impl<'de> Deserialize<'de> for CapabilityDigest
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 Forget for CapabilityDigest
impl Freeze for CapabilityDigest
impl RefUnwindSafe for CapabilityDigest
impl Send for CapabilityDigest
impl Sync for CapabilityDigest
impl Unpin for CapabilityDigest
impl UnsafeUnpin for CapabilityDigest
impl UnwindSafe for CapabilityDigest
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