pub struct StackError {
pub error_code: Option<String>,
pub error_message: Option<String>,
}
Expand description
Describes a stack error.
Fields§
§error_code: Option<String>
The error code.
error_message: Option<String>
The error message.
Trait Implementations§
Source§impl Clone for StackError
impl Clone for StackError
Source§fn clone(&self) -> StackError
fn clone(&self) -> StackError
Returns a copy 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 StackError
impl Debug for StackError
Source§impl Default for StackError
impl Default for StackError
Source§fn default() -> StackError
fn default() -> StackError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StackError
impl<'de> Deserialize<'de> for StackError
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
Source§impl PartialEq for StackError
impl PartialEq for StackError
impl StructuralPartialEq for StackError
Auto Trait Implementations§
impl Freeze for StackError
impl RefUnwindSafe for StackError
impl Send for StackError
impl Sync for StackError
impl Unpin for StackError
impl UnwindSafe for StackError
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