pub struct GatewayStructuredError {
pub code: &'static str,
pub kind: &'static str,
pub tool: &'static str,
pub action: String,
pub remediation: &'static str,
}Fields§
§code: &'static str§kind: &'static str§tool: &'static str§action: String§remediation: &'static strImplementations§
Trait Implementations§
Source§impl Clone for GatewayStructuredError
impl Clone for GatewayStructuredError
Source§fn clone(&self) -> GatewayStructuredError
fn clone(&self) -> GatewayStructuredError
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 GatewayStructuredError
impl Debug for GatewayStructuredError
Source§impl PartialEq for GatewayStructuredError
impl PartialEq for GatewayStructuredError
Source§fn eq(&self, other: &GatewayStructuredError) -> bool
fn eq(&self, other: &GatewayStructuredError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GatewayStructuredError
impl StructuralPartialEq for GatewayStructuredError
Auto Trait Implementations§
impl Freeze for GatewayStructuredError
impl RefUnwindSafe for GatewayStructuredError
impl Send for GatewayStructuredError
impl Sync for GatewayStructuredError
impl Unpin for GatewayStructuredError
impl UnsafeUnpin for GatewayStructuredError
impl UnwindSafe for GatewayStructuredError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.