pub struct SessionMutationOutcome {
pub harness: String,
pub verb: String,
pub ran: String,
pub session: String,
pub row: Option<Value>,
pub archived: Option<bool>,
pub deleted: Option<bool>,
}Expand description
What one mutation did, with the conversation re-read afterwards.
Fields§
§harness: StringHarness whose door was used.
verb: StringUniform verb that was asked for.
ran: StringThe exact door that was used, credentials redacted.
session: StringConversation the verb acted on.
row: Option<Value>The conversation as the harness’s own store reports it AFTER the verb.
Absent for delete, and for a new/reset whose fresh conversation
the harness has not committed to its store yet.
archived: Option<bool>true on a successful archive.
deleted: Option<bool>true on a successful delete.
Trait Implementations§
Source§impl Clone for SessionMutationOutcome
impl Clone for SessionMutationOutcome
Source§fn clone(&self) -> SessionMutationOutcome
fn clone(&self) -> SessionMutationOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionMutationOutcome
impl Debug for SessionMutationOutcome
Source§impl<'de> Deserialize<'de> for SessionMutationOutcome
impl<'de> Deserialize<'de> for SessionMutationOutcome
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 PartialEq for SessionMutationOutcome
impl PartialEq for SessionMutationOutcome
Source§impl Serialize for SessionMutationOutcome
impl Serialize for SessionMutationOutcome
impl StructuralPartialEq for SessionMutationOutcome
Auto Trait Implementations§
impl Freeze for SessionMutationOutcome
impl RefUnwindSafe for SessionMutationOutcome
impl Send for SessionMutationOutcome
impl Sync for SessionMutationOutcome
impl Unpin for SessionMutationOutcome
impl UnsafeUnpin for SessionMutationOutcome
impl UnwindSafe for SessionMutationOutcome
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