Struct actix_tools::sentry::sentry_client::protocol::FileLocation [−]
pub struct FileLocation { pub filename: Option<String>, pub abs_path: Option<String>, pub line: Option<u64>, pub column: Option<u64>, }
Represents location information.
Fields
filename: Option<String>
The filename (basename only).
abs_path: Option<String>
If known the absolute path.
line: Option<u64>
The line number if known.
column: Option<u64>
The column number if known.
Trait Implementations
impl Serialize for FileLocation
impl Serialize for FileLocation
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 Clone for FileLocation
impl Clone for FileLocation
fn clone(&self) -> FileLocation
fn clone(&self) -> FileLocation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for FileLocation
impl Default for FileLocation
fn default() -> FileLocation
fn default() -> FileLocation
Returns the "default value" for a type. Read more
impl Debug for FileLocation
impl Debug for FileLocation
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for FileLocation
impl<'de> Deserialize<'de> for FileLocation
fn deserialize<__D>(
__deserializer: __D
) -> Result<FileLocation, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<FileLocation, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<FileLocation> for FileLocation
impl PartialEq<FileLocation> for FileLocation
fn eq(&self, other: &FileLocation) -> bool
fn eq(&self, other: &FileLocation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FileLocation) -> bool
fn ne(&self, other: &FileLocation) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for FileLocation
impl Send for FileLocation
impl Sync for FileLocation
impl Sync for FileLocation