pub struct EntryBody {
pub schema_version: u16,
pub title: Option<BoundedString<256>>,
pub body_hash: [u8; 32],
pub body_cipher_meta: Option<BodyCipherMeta>,
pub edit_seq: u32,
}Expand description
Entry body Component — content hash plus optional cipher metadata.
DeleteEntry removes this Component while preserving EntryCore (soft
delete, E-entry-5).
Fields§
§schema_version: u16Wire-level schema version tag.
title: Option<BoundedString<256>>Optional title — bounded to 256 UTF-8 bytes.
body_hash: [u8; 32]BLAKE3(body || user_salt || entry_nonce).
body_cipher_meta: Option<BodyCipherMeta>Cipher metadata — present iff the body plaintext is AEAD-sealed in a shell-side channel.
edit_seq: u32Monotone edit counter (E-entry-6).
Trait Implementations§
Source§impl ArkheComponent for EntryBody
impl ArkheComponent for EntryBody
Source§impl<'de> Deserialize<'de> for EntryBody
impl<'de> Deserialize<'de> for EntryBody
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 EntryBody
impl StructuralPartialEq for EntryBody
Auto Trait Implementations§
impl Freeze for EntryBody
impl RefUnwindSafe for EntryBody
impl Send for EntryBody
impl Sync for EntryBody
impl Unpin for EntryBody
impl UnsafeUnpin for EntryBody
impl UnwindSafe for EntryBody
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