pub struct EngineOutcome {
pub trigger_id: String,
pub stop_reason: StopReason,
pub response: Option<String>,
pub detail: Option<String>,
pub steps_executed: usize,
pub idempotent_replay: bool,
pub resume_token: Option<ResumeToken>,
}Fields§
§trigger_id: String§stop_reason: StopReason§response: Option<String>§detail: Option<String>§steps_executed: usize§idempotent_replay: bool§resume_token: Option<ResumeToken>Implementations§
Source§impl EngineOutcome
impl EngineOutcome
pub fn from_record(record: OutcomeRecord) -> Self
Trait Implementations§
Source§impl Clone for EngineOutcome
impl Clone for EngineOutcome
Source§fn clone(&self) -> EngineOutcome
fn clone(&self) -> EngineOutcome
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 EngineOutcome
impl Debug for EngineOutcome
Source§impl<'de> Deserialize<'de> for EngineOutcome
impl<'de> Deserialize<'de> for EngineOutcome
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 EngineOutcome
impl PartialEq for EngineOutcome
Source§fn eq(&self, other: &EngineOutcome) -> bool
fn eq(&self, other: &EngineOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EngineOutcome
impl Serialize for EngineOutcome
impl StructuralPartialEq for EngineOutcome
Auto Trait Implementations§
impl Freeze for EngineOutcome
impl RefUnwindSafe for EngineOutcome
impl Send for EngineOutcome
impl Sync for EngineOutcome
impl Unpin for EngineOutcome
impl UnsafeUnpin for EngineOutcome
impl UnwindSafe for EngineOutcome
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