Struct sentry::protocol::FileLocation
[−]
[src]
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 PartialEq<FileLocation> for FileLocation
[src]
fn eq(&self, __arg_0: &FileLocation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FileLocation) -> bool
[src]
This method tests for !=
.
impl<'de> Deserialize<'de> for FileLocation
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<FileLocation, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<FileLocation, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Clone for FileLocation
[src]
fn clone(&self) -> FileLocation
[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 FileLocation
[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 FileLocation
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Default for FileLocation
[src]
fn default() -> FileLocation
[src]
Returns the "default value" for a type. Read more