pub struct BinaryUseSite {
pub path: PathBuf,
pub line: u32,
pub col: u32,
pub script_name: Option<String>,
}Expand description
A location that runs a binary.
Fields§
§path: PathBufThe package.json that declares the script, or the source file that
makes the process call.
line: u321-based line number.
col: u320-based byte column offset.
script_name: Option<String>The name of the package.json script that runs the binary. Absent for a process call in source.
Trait Implementations§
Source§impl Clone for BinaryUseSite
impl Clone for BinaryUseSite
Source§impl Debug for BinaryUseSite
impl Debug for BinaryUseSite
Source§impl<'de> Deserialize<'de> for BinaryUseSite
impl<'de> Deserialize<'de> for BinaryUseSite
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
Auto Trait Implementations§
impl Forget for BinaryUseSite
impl Freeze for BinaryUseSite
impl Move for BinaryUseSite
impl RefUnwindSafe for BinaryUseSite
impl Send for BinaryUseSitewhere
RawVecInner: Send,
impl Sync for BinaryUseSitewhere
RawVecInner: Sync,
impl Unpin for BinaryUseSite
impl UnsafeUnpin for BinaryUseSite
impl UnwindSafe for BinaryUseSitewhere
RawVecInner: UnwindSafe,
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