Struct serde_lwjson::LocationDetail
source · 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 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 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§fn eq(&self, other: &LocationDetail) -> bool
fn eq(&self, other: &LocationDetail) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LocationDetail
impl Serialize for LocationDetail
impl StructuralPartialEq for LocationDetail
Auto Trait Implementations§
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