pub struct Meta {
pub format_version: u32,
pub created_with: String,
pub modified: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Contents of meta.json: facts about the file, not about the book.
Fields§
§format_version: u32Container format; always written as FORMAT_VERSION.
created_with: StringThe build that created the project, e.g. kernsetzer 0.1.0. Kept
across saves (useful in support requests).
modified: Option<String>When the file was last saved, RFC 3339 in UTC.
extra: Map<String, Value>Fields written by newer builds, kept on round-trip.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
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 StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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