pub struct CatalogSafeErrorMeta {
pub code: String,
pub safe_message: String,
pub occurred_at: Timestamp,
}Expand description
Bounded, body-free error metadata safe for persistence and display.
Fields§
§code: String§safe_message: String§occurred_at: TimestampTrait Implementations§
Source§impl Clone for CatalogSafeErrorMeta
impl Clone for CatalogSafeErrorMeta
Source§fn clone(&self) -> CatalogSafeErrorMeta
fn clone(&self) -> CatalogSafeErrorMeta
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 CatalogSafeErrorMeta
impl Debug for CatalogSafeErrorMeta
Source§impl<'de> Deserialize<'de> for CatalogSafeErrorMeta
impl<'de> Deserialize<'de> for CatalogSafeErrorMeta
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
impl Eq for CatalogSafeErrorMeta
Source§impl PartialEq for CatalogSafeErrorMeta
impl PartialEq for CatalogSafeErrorMeta
Source§fn eq(&self, other: &CatalogSafeErrorMeta) -> bool
fn eq(&self, other: &CatalogSafeErrorMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CatalogSafeErrorMeta
impl Serialize for CatalogSafeErrorMeta
impl StructuralPartialEq for CatalogSafeErrorMeta
Auto Trait Implementations§
impl Freeze for CatalogSafeErrorMeta
impl RefUnwindSafe for CatalogSafeErrorMeta
impl Send for CatalogSafeErrorMeta
impl Sync for CatalogSafeErrorMeta
impl Unpin for CatalogSafeErrorMeta
impl UnsafeUnpin for CatalogSafeErrorMeta
impl UnwindSafe for CatalogSafeErrorMeta
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