pub struct Entry {
pub rev: u64,
pub seq: u64,
pub at: String,
pub author: Author,
pub action: String,
pub op: String,
pub target: String,
pub node_type: Option<String>,
pub body: Map<String, Value>,
}Expand description
One journal line: a doc event and the revision it belongs to.
Fields§
§rev: u64The revision (one write); 1-based, increasing.
seq: u64The event’s position in the journal; 1-based, increasing.
at: StringRFC 3339 UTC time of the revision.
action: StringWhat the write was (write, edit, note, move, delete, …).
op: String§target: String§node_type: Option<String>§body: Map<String, Value>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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 Entry
Auto Trait Implementations§
impl Forget for Entry
impl Freeze for Entry
impl Move for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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