The content address (hex Blake3) of the canonical bytes — this object's key in the object store and the value a `views/{name}` ref points at.
(&self)
| 113 | /// The content address (hex Blake3) of the canonical bytes — this object's |
| 114 | /// key in the object store and the value a `views/{name}` ref points at. |
| 115 | pub fn content_key(&self) -> crate::ObjectKey { |
| 116 | crate::content_key(&self.to_canonical_bytes()) |
| 117 | } |
| 118 | |
| 119 | /// Deserialize from canonical bytes. Returns `None` on malformed input. |
| 120 | pub fn from_bytes(bytes: &[u8]) -> Option<Self> { |