pub struct DagDbErrorEnvelope {
pub error_code: String,
pub message: String,
pub receipt_hash: Option<String>,
pub validation_report_id: Option<String>,
pub requires_council_review: bool,
pub operational_event_type: Option<String>,
}Expand description
Shared error envelope for every DAG DB route.
Fields§
§error_code: String§message: String§receipt_hash: Option<String>§validation_report_id: Option<String>§requires_council_review: bool§operational_event_type: Option<String>Trait Implementations§
Source§impl Clone for DagDbErrorEnvelope
impl Clone for DagDbErrorEnvelope
Source§fn clone(&self) -> DagDbErrorEnvelope
fn clone(&self) -> DagDbErrorEnvelope
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 DagDbErrorEnvelope
impl Debug for DagDbErrorEnvelope
Source§impl<'de> Deserialize<'de> for DagDbErrorEnvelope
impl<'de> Deserialize<'de> for DagDbErrorEnvelope
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbErrorEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbErrorEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DagDbErrorEnvelope
Source§impl PartialEq for DagDbErrorEnvelope
impl PartialEq for DagDbErrorEnvelope
Source§fn eq(&self, other: &DagDbErrorEnvelope) -> bool
fn eq(&self, other: &DagDbErrorEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbErrorEnvelope
impl Serialize for DagDbErrorEnvelope
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DagDbErrorEnvelope
Auto Trait Implementations§
impl Freeze for DagDbErrorEnvelope
impl RefUnwindSafe for DagDbErrorEnvelope
impl Send for DagDbErrorEnvelope
impl Sync for DagDbErrorEnvelope
impl Unpin for DagDbErrorEnvelope
impl UnsafeUnpin for DagDbErrorEnvelope
impl UnwindSafe for DagDbErrorEnvelope
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