pub struct GovernedDocumentWritten {
pub which: String,
pub bytes: usize,
pub naming: Option<B3Hash>,
}Expand description
governed_document_written: which of the three documents a person
wrote, and how long it now is.
Never the text. The document is on disk and readable there, and a copy here would be a second authority for words a person edits.
Fields§
§which: StringThe document’s file name, as city::Governed::file gives it.
bytes: usizeThe length of what was written, in bytes.
naming: Option<B3Hash>The identity version the city has once this write landed: the
receipt a page waits for before it calls a save saved
(crates/kernel/spec/Event/Record.lean §8-79). Absent for CLERK.md, which names nobody,
and in lines written before the key existed.
Trait Implementations§
Source§impl Clone for GovernedDocumentWritten
impl Clone for GovernedDocumentWritten
Source§impl Debug for GovernedDocumentWritten
impl Debug for GovernedDocumentWritten
Source§impl<'de> Deserialize<'de> for GovernedDocumentWritten
impl<'de> Deserialize<'de> for GovernedDocumentWritten
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 GovernedDocumentWritten
Source§impl PartialEq for GovernedDocumentWritten
impl PartialEq for GovernedDocumentWritten
Source§impl Serialize for GovernedDocumentWritten
impl Serialize for GovernedDocumentWritten
impl StructuralPartialEq for GovernedDocumentWritten
Auto Trait Implementations§
impl Freeze for GovernedDocumentWritten
impl RefUnwindSafe for GovernedDocumentWritten
impl Send for GovernedDocumentWritten
impl Sync for GovernedDocumentWritten
impl Unpin for GovernedDocumentWritten
impl UnsafeUnpin for GovernedDocumentWritten
impl UnwindSafe for GovernedDocumentWritten
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