pub struct Fault {
pub code: String,
pub severity: FaultSeverity,
pub message: String,
pub details: Nullable<BTreeMap<String, Value>>,
pub first_at: String,
pub last_at: String,
pub occurrences: i64,
}Fields§
§code: StringStable machine-readable code owned by the reporting operation.
severity: FaultSeverity§message: String§details: Nullable<BTreeMap<String, Value>>Structured context; legacy strings are preserved in legacy_text.
first_at: StringFirst observation in this active occurrence series.
last_at: StringLatest observation in this active occurrence series.
occurrences: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fault
impl<'de> Deserialize<'de> for Fault
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 Fault
impl RefUnwindSafe for Fault
impl Send for Fault
impl Sync for Fault
impl Unpin for Fault
impl UnsafeUnpin for Fault
impl UnwindSafe for Fault
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