pub struct EnvelopeMeta {
pub announced_at: u64,
pub ttl_secs: Option<u32>,
pub flags: u8,
}Expand description
Per-envelope metadata grouped to keep the sign /
placeholder constructor signatures narrow. All three fields
are wire-envelope members; defaults match the most common
publisher pattern (current wall-clock micros, default TTL via
FoldKind::DEFAULT_TTL, no flag bits set).
Fields§
§announced_at: u64Publisher’s wall-clock micros-since-epoch at emission.
Receivers use this for diagnostics, not for ordering —
generation is the load-bearing anti-reorder signal.
ttl_secs: Option<u32>Per-announcement TTL override. None falls through to
super::FoldKind::DEFAULT_TTL.
flags: u8Bit flags. See SignedAnnouncement::flags for the
reserved layout.
Trait Implementations§
Source§impl Clone for EnvelopeMeta
impl Clone for EnvelopeMeta
Source§fn clone(&self) -> EnvelopeMeta
fn clone(&self) -> EnvelopeMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EnvelopeMeta
Source§impl Debug for EnvelopeMeta
impl Debug for EnvelopeMeta
Source§impl Default for EnvelopeMeta
impl Default for EnvelopeMeta
Source§fn default() -> EnvelopeMeta
fn default() -> EnvelopeMeta
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnvelopeMeta
impl RefUnwindSafe for EnvelopeMeta
impl Send for EnvelopeMeta
impl Sync for EnvelopeMeta
impl Unpin for EnvelopeMeta
impl UnsafeUnpin for EnvelopeMeta
impl UnwindSafe for EnvelopeMeta
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