pub struct PendingError {
pub error_signature: String,
pub category: GotchaCategory,
pub severity: GotchaSeverity,
pub command: String,
pub exit_code: i32,
pub files_at_error: Vec<String>,
pub timestamp: DateTime<Utc>,
pub raw_snippet: String,
pub session_id: String,
}Fields§
§error_signature: String§category: GotchaCategory§severity: GotchaSeverity§command: String§exit_code: i32§files_at_error: Vec<String>§timestamp: DateTime<Utc>§raw_snippet: String§session_id: StringImplementations§
Source§impl PendingError
impl PendingError
pub fn is_expired(&self) -> bool
Trait Implementations§
Source§impl Clone for PendingError
impl Clone for PendingError
Source§fn clone(&self) -> PendingError
fn clone(&self) -> PendingError
Returns a duplicate of the value. Read more
1.0.0 · 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 PendingError
impl Debug for PendingError
Source§impl<'de> Deserialize<'de> for PendingError
impl<'de> Deserialize<'de> for PendingError
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 Freeze for PendingError
impl RefUnwindSafe for PendingError
impl Send for PendingError
impl Sync for PendingError
impl Unpin for PendingError
impl UnsafeUnpin for PendingError
impl UnwindSafe for PendingError
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