pub struct PathReference {
pub path: String,
pub access: String,
pub source: String,
}Expand description
A privacy-safe exact path reference recovered from a native tool input.
path is a privacy-safe session-cwd-relative candidate. The longitudinal
exporter resolves it against the actual repository root and drops paths
that escape that root. External and unresolved paths are summarized by the
existing path_groups field rather than copied here.
Fields§
§path: String§access: String§source: StringTrait Implementations§
Source§impl Clone for PathReference
impl Clone for PathReference
Source§fn clone(&self) -> PathReference
fn clone(&self) -> PathReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PathReference
impl Debug for PathReference
Source§impl Default for PathReference
impl Default for PathReference
Source§fn default() -> PathReference
fn default() -> PathReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PathReference
impl<'de> Deserialize<'de> for PathReference
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
impl Eq for PathReference
Source§impl PartialEq for PathReference
impl PartialEq for PathReference
Source§impl Serialize for PathReference
impl Serialize for PathReference
impl StructuralPartialEq for PathReference
Auto Trait Implementations§
impl Freeze for PathReference
impl RefUnwindSafe for PathReference
impl Send for PathReference
impl Sync for PathReference
impl Unpin for PathReference
impl UnsafeUnpin for PathReference
impl UnwindSafe for PathReference
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