pub struct ErrorSolution {
pub id: i64,
pub error_pattern: String,
pub domain: Option<String>,
pub solution_summary: String,
pub solution_steps: Option<Vec<String>>,
pub success_count: i32,
pub failure_count: i32,
pub last_used_at: Option<DateTime<Utc>>,
pub created_at: DateTime<Utc>,
}Expand description
A learned error-solution pair.
Fields§
§id: i64§error_pattern: String§domain: Option<String>§solution_summary: String§solution_steps: Option<Vec<String>>§success_count: i32§failure_count: i32§last_used_at: Option<DateTime<Utc>>§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for ErrorSolution
impl Clone for ErrorSolution
Source§impl Debug for ErrorSolution
impl Debug for ErrorSolution
Source§impl<'de> Deserialize<'de> for ErrorSolution
impl<'de> Deserialize<'de> for ErrorSolution
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
Auto Trait Implementations§
impl Forget for ErrorSolution
impl Freeze for ErrorSolution
impl Move for ErrorSolution
impl RefUnwindSafe for ErrorSolution
impl Send for ErrorSolution
impl Sync for ErrorSolution
impl Unpin for ErrorSolution
impl UnsafeUnpin for ErrorSolution
impl UnwindSafe for ErrorSolution
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more