pub struct LocationDetail {
pub line_location: Option<LineInfo>,
pub text_snippet: Option<String>,
}Fields§
§line_location: Option<LineInfo>§text_snippet: Option<String>Trait Implementations§
Source§impl Clone for LocationDetail
impl Clone for LocationDetail
Source§fn clone(&self) -> LocationDetail
fn clone(&self) -> LocationDetail
Returns a duplicate 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 LocationDetail
impl Debug for LocationDetail
Source§impl Default for LocationDetail
impl Default for LocationDetail
Source§fn default() -> LocationDetail
fn default() -> LocationDetail
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocationDetail
impl<'de> Deserialize<'de> for LocationDetail
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 LocationDetail
impl PartialEq for LocationDetail
Source§impl Serialize for LocationDetail
impl Serialize for LocationDetail
impl StructuralPartialEq for LocationDetail
Auto Trait Implementations§
impl Freeze for LocationDetail
impl RefUnwindSafe for LocationDetail
impl Send for LocationDetail
impl Sync for LocationDetail
impl Unpin for LocationDetail
impl UnwindSafe for LocationDetail
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