pub struct Head {
pub brain: String,
pub seq: u64,
pub updated_at: Option<String>,
pub feed_hash: Option<String>,
pub verified: bool,
}Expand description
One observation of a brain’s feed head.
Fields§
§brain: StringThe brain id.
seq: u64The hub’s durable feed cursor — advances on every accepted write.
updated_at: Option<String>The hub’s updatedAt for the brain, when present.
feed_hash: Option<String>SHA-256 of the exact signed head entry.
verified: boolWhether the head entry’s content hash, identity, and Ed25519 signature were verified locally. Path-scoped grants get head movement only.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Head
impl RefUnwindSafe for Head
impl Send for Head
impl Sync for Head
impl Unpin for Head
impl UnsafeUnpin for Head
impl UnwindSafe for Head
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