pub struct JournalEntry {
pub part: String,
pub kind: RequestKind,
pub outcome: PartOutcome,
pub fields: BTreeMap<String, Value>,
pub shown: Shown,
}Expand description
One request a source sent while a journal was open.
Fields§
§part: StringWhich part of the write it was, in the source’s own words — fields, issue,
comment — or, for a read, what was read.
kind: RequestKindWhether it was a read or a mutation.
outcome: PartOutcomeWhat it came to.
fields: BTreeMap<String, Value>Each field the part set, with the value the response shows it holding.
shown: ShownWhat the response showed of the task afterwards.
Trait Implementations§
Source§impl Clone for JournalEntry
impl Clone for JournalEntry
Source§impl Debug for JournalEntry
impl Debug for JournalEntry
Source§impl<'de> Deserialize<'de> for JournalEntry
impl<'de> Deserialize<'de> for JournalEntry
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
Source§impl JsonSchema for JournalEntry
impl JsonSchema for JournalEntry
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for JournalEntry
impl PartialEq for JournalEntry
Source§impl Serialize for JournalEntry
impl Serialize for JournalEntry
impl StructuralPartialEq for JournalEntry
Auto Trait Implementations§
impl Freeze for JournalEntry
impl RefUnwindSafe for JournalEntry
impl Send for JournalEntry
impl Sync for JournalEntry
impl Unpin for JournalEntry
impl UnsafeUnpin for JournalEntry
impl UnwindSafe for JournalEntry
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