pub struct EntryCore {
pub schema_version: u16,
pub shell_id: ShellId,
pub space_id: SpaceId,
pub author_id: ActorId,
pub parent_entry: Option<EntryId>,
pub relay_of: Option<EntryId>,
pub relay_kind: Option<RelayKind>,
pub created_tick: Tick,
}Expand description
Entry core Component — exactly one per Entry (E-entry-1).
Fields§
§schema_version: u16Wire-level schema version tag.
shell_id: ShellIdShell identity — immutable.
space_id: SpaceIdHome Space.
Authoring actor.
parent_entry: Option<EntryId>Parent (reply target). Immutable after creation (E-entry-7 / P5).
relay_of: Option<EntryId>Relay source. Immutable after creation (E-entry-7 / P5).
relay_kind: Option<RelayKind>Relay kind — present iff relay_of.is_some().
created_tick: TickCreation tick.
Trait Implementations§
Source§impl ArkheComponent for EntryCore
impl ArkheComponent for EntryCore
Source§const TYPE_CODE: u32 = 197377u32
const TYPE_CODE: u32 = 197377u32
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 EntryCore
impl<'de> Deserialize<'de> for EntryCore
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 EntryCore
impl StructuralPartialEq for EntryCore
Auto Trait Implementations§
impl Freeze for EntryCore
impl RefUnwindSafe for EntryCore
impl Send for EntryCore
impl Sync for EntryCore
impl Unpin for EntryCore
impl UnsafeUnpin for EntryCore
impl UnwindSafe for EntryCore
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