pub struct WriteJournal {
pub requests: Vec<JournalEntry>,
}Expand description
Every request a source sent between TaskSource::begin_journal and
TaskSource::end_journal, in the order sent.
Fields§
§requests: Vec<JournalEntry>The requests, oldest first.
Implementations§
Source§impl WriteJournal
impl WriteJournal
Sourcepub fn mutations(&self) -> impl Iterator<Item = &JournalEntry>
pub fn mutations(&self) -> impl Iterator<Item = &JournalEntry>
The mutations, oldest first.
Trait Implementations§
Source§impl Clone for WriteJournal
impl Clone for WriteJournal
Source§impl Debug for WriteJournal
impl Debug for WriteJournal
Source§impl Default for WriteJournal
impl Default for WriteJournal
Source§impl<'de> Deserialize<'de> for WriteJournal
impl<'de> Deserialize<'de> for WriteJournal
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 WriteJournal
impl JsonSchema for WriteJournal
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 WriteJournal
impl PartialEq for WriteJournal
Source§impl Serialize for WriteJournal
impl Serialize for WriteJournal
impl StructuralPartialEq for WriteJournal
Auto Trait Implementations§
impl Freeze for WriteJournal
impl RefUnwindSafe for WriteJournal
impl Send for WriteJournal
impl Sync for WriteJournal
impl Unpin for WriteJournal
impl UnsafeUnpin for WriteJournal
impl UnwindSafe for WriteJournal
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