Struct sentry::protocol::Exception
[−]
[src]
pub struct Exception { pub ty: String, pub value: Option<String>, pub module: Option<String>, pub stacktrace: Option<Stacktrace>, pub raw_stacktrace: Option<Stacktrace>, }
Represents a single exception
Fields
ty: String
The type of the exception
value: Option<String>
The optional value of the exception
module: Option<String>
An optional module for this exception.
stacktrace: Option<Stacktrace>
Optionally the stacktrace.
raw_stacktrace: Option<Stacktrace>
An optional raw stacktrace.
Trait Implementations
impl PartialEq<Exception> for Exception
[src]
fn eq(&self, __arg_0: &Exception) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Exception) -> bool
[src]
This method tests for !=
.
impl<'de> Deserialize<'de> for Exception
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Exception, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Exception, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Clone for Exception
[src]
fn clone(&self) -> Exception
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Serialize for Exception
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&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 Debug for Exception
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more