pub struct Stamp {
pub version: String,
pub into: Option<IntoStamp>,
pub sentences: SourceHash,
pub prelude: SourceHash,
pub phrasebooks: Vec<SourceHash>,
}Expand description
The build stamp: the core’s version, the workbook added to when there
was one, and the identity of the sentences, the prelude and each
phrasebook in order, as the defined name Frazaro.Build carries it in
one string.
Fields§
§version: String§into: Option<IntoStamp>§sentences: SourceHash§prelude: SourceHash§phrasebooks: Vec<SourceHash>Implementations§
Source§impl Stamp
impl Stamp
pub fn of( program_text: &str, prelude: &str, books: &[&str], into: Option<IntoStamp>, ) -> Stamp
Sourcepub fn text(&self) -> String
pub fn text(&self) -> String
Frazaro 0.7.1; [into sha256:... with N cell formats and metadata M; ]sentences sha256:... over N non-whitespace bytes; prelude ...; phrasebook 1 ....
pub fn parse(text: &str) -> Option<Stamp>
Trait Implementations§
impl Eq for Stamp
impl StructuralPartialEq for Stamp
Auto Trait Implementations§
impl Freeze for Stamp
impl RefUnwindSafe for Stamp
impl Send for Stamp
impl Sync for Stamp
impl Unpin for Stamp
impl UnsafeUnpin for Stamp
impl UnwindSafe for Stamp
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