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