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§const TYPE_CODE: u32 = 197378u32
const TYPE_CODE: u32 = 197378u32
Globally stable dispatch code within the runtime
TypeCode registry.Source§const SCHEMA_VERSION: u16 = 1u16
const SCHEMA_VERSION: u16 = 1u16
Monotone schema version. Bump on field addition (
#[serde(default)]
paired); field removal / reorder forbidden.Source§fn approx_size(&self) -> usize
fn approx_size(&self) -> usize
Approximate payload size for quota tracking. Default returns
size_of::<Self>(); override for bytes::Bytes-carrying Components.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