Struct graph_error::ErrorMessage
source · pub struct ErrorMessage {
pub error: ErrorStatus,
}
Fields§
§error: ErrorStatus
Implementations§
source§impl ErrorMessage
impl ErrorMessage
pub fn message(&self) -> Option<String>
pub fn code_property(&self) -> Option<String>
pub fn detailed_error_code(&self) -> Option<String>
pub fn inner_error(&self) -> Option<&InnerError>
pub fn request_id(&self) -> Option<String>
pub fn date(&self) -> Option<String>
Trait Implementations§
source§impl Clone for ErrorMessage
impl Clone for ErrorMessage
source§fn clone(&self) -> ErrorMessage
fn clone(&self) -> ErrorMessage
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 ErrorMessage
impl Debug for ErrorMessage
source§impl Default for ErrorMessage
impl Default for ErrorMessage
source§fn default() -> ErrorMessage
fn default() -> ErrorMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ErrorMessage
impl<'de> Deserialize<'de> for ErrorMessage
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 Display for ErrorMessage
impl Display for ErrorMessage
source§impl Error for ErrorMessage
impl Error for ErrorMessage
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ErrorMessage> for GraphFailure
impl From<ErrorMessage> for GraphFailure
source§fn from(source: ErrorMessage) -> Self
fn from(source: ErrorMessage) -> Self
Converts to this type from the input type.
source§impl PartialEq<ErrorMessage> for ErrorMessage
impl PartialEq<ErrorMessage> for ErrorMessage
source§fn eq(&self, other: &ErrorMessage) -> bool
fn eq(&self, other: &ErrorMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ErrorMessage
impl Serialize for ErrorMessage
impl Eq for ErrorMessage
impl StructuralEq for ErrorMessage
impl StructuralPartialEq for ErrorMessage
Auto Trait Implementations§
impl RefUnwindSafe for ErrorMessage
impl Send for ErrorMessage
impl Sync for ErrorMessage
impl Unpin for ErrorMessage
impl UnwindSafe for ErrorMessage
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.