pub struct LabeledSite {
pub site: ReferenceSite,
pub label: SiteLabel,
pub basis: String,
pub end_line: Option<usize>,
pub arg_count: Option<u32>,
}Expand description
One line of the project that holds the target’s name, with the evidence that ties it to the
target. end_line is set only when the site spans more than its first line.
Fields§
§site: ReferenceSite§label: SiteLabel§basis: String§end_line: Option<usize>§arg_count: Option<u32>The number of arguments the call passes, when julie recorded it.
Trait Implementations§
Source§impl Clone for LabeledSite
impl Clone for LabeledSite
Source§impl Debug for LabeledSite
impl Debug for LabeledSite
Source§impl<'de> Deserialize<'de> for LabeledSite
impl<'de> Deserialize<'de> for LabeledSite
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 LabeledSite
impl PartialEq for LabeledSite
Source§impl Serialize for LabeledSite
impl Serialize for LabeledSite
impl StructuralPartialEq for LabeledSite
Auto Trait Implementations§
impl Freeze for LabeledSite
impl RefUnwindSafe for LabeledSite
impl Send for LabeledSite
impl Sync for LabeledSite
impl Unpin for LabeledSite
impl UnsafeUnpin for LabeledSite
impl UnwindSafe for LabeledSite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more