pub struct RedactedEntry {
pub seq: i64,
pub step_id: StepId,
pub entry_kind: String,
pub effect_class: Option<String>,
pub idem_key_prefix: Option<String>,
pub payload_len: u64,
pub created_at_ms: i64,
}Expand description
A redaction-safe view of one journal entry, for the zeph durable show/inspect CLI.
Returned by LocalBackend::read_execution_redacted. It deliberately excludes the payload bytes
and full idempotency key — only the metadata the spec’s INV-5 redaction rule permits in default
output. To see decrypted payloads a caller must opt in via --reveal, which reads through the
AEAD cipher with Journal::read_execution instead.
Fields§
§seq: i64Global append sequence.
step_id: StepIdThe step this entry belongs to.
entry_kind: StringThe raw entry_kind column tag (step_result, effect_intent, …).
effect_class: Option<String>The effect-class tag, when the entry carries one.
idem_key_prefix: Option<String>Hex of the first 8 bytes of the idempotency key, when present (INV-5 prefix only).
payload_len: u64Size in bytes of the stored (AEAD-sealed) payload; 0 for control entries.
created_at_ms: i64Creation time, Unix epoch milliseconds.
Trait Implementations§
Source§impl Clone for RedactedEntry
impl Clone for RedactedEntry
Source§fn clone(&self) -> RedactedEntry
fn clone(&self) -> RedactedEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RedactedEntry
impl Debug for RedactedEntry
impl Eq for RedactedEntry
Source§impl PartialEq for RedactedEntry
impl PartialEq for RedactedEntry
Source§impl Serialize for RedactedEntry
impl Serialize for RedactedEntry
impl StructuralPartialEq for RedactedEntry
Auto Trait Implementations§
impl Freeze for RedactedEntry
impl RefUnwindSafe for RedactedEntry
impl Send for RedactedEntry
impl Sync for RedactedEntry
impl Unpin for RedactedEntry
impl UnsafeUnpin for RedactedEntry
impl UnwindSafe for RedactedEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more