#[non_exhaustive]pub struct RunReflection {
pub what_worked: Option<Vec<String>>,
pub what_failed: Option<Vec<String>>,
pub assumptions: Option<Vec<String>>,
pub lessons: Option<Vec<String>>,
pub improvements: Option<Vec<String>>,
pub confidence: Option<f64>,
pub evidence: Option<Vec<String>>,
pub expires_in_days: Option<Integer>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.what_worked: Option<Vec<String>>§what_failed: Option<Vec<String>>§assumptions: Option<Vec<String>>§lessons: Option<Vec<String>>§improvements: Option<Vec<String>>§confidence: Option<f64>§evidence: Option<Vec<String>>§expires_in_days: Option<Integer>Implementations§
Source§impl RunReflection
impl RunReflection
pub fn new() -> Self
pub fn what_worked( self, what_worked: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn what_failed( self, what_failed: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn assumptions( self, assumptions: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn lessons( self, lessons: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn improvements( self, improvements: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn confidence(self, confidence: f64) -> Self
pub fn evidence( self, evidence: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn expires_in_days(self, expires_in_days: impl Into<Integer>) -> Self
Trait Implementations§
Source§impl Clone for RunReflection
impl Clone for RunReflection
Source§impl Debug for RunReflection
impl Debug for RunReflection
Source§impl Default for RunReflection
impl Default for RunReflection
Source§impl<'de> Deserialize<'de> for RunReflection
impl<'de> Deserialize<'de> for RunReflection
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 RunReflection
impl PartialEq for RunReflection
Source§impl Serialize for RunReflection
impl Serialize for RunReflection
impl StructuralPartialEq for RunReflection
Auto Trait Implementations§
impl Forget for RunReflection
impl Freeze for RunReflection
impl Move for RunReflection
impl RefUnwindSafe for RunReflection
impl Send for RunReflection
impl Sync for RunReflection
impl Unpin for RunReflection
impl UnsafeUnpin for RunReflection
impl UnwindSafe for RunReflection
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