pub struct ProjectKey(pub(crate) String);Expand description
Project root path key - the canonicalised, sanitised string form
produced by forge_agent::userdata::catalog::scan::project_key_for_directory.
Equivalent to the directory names you see under
<config_dir>/projects/.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for ProjectKey
impl Clone for ProjectKey
Source§impl Debug for ProjectKey
impl Debug for ProjectKey
Source§impl<'de> Deserialize<'de> for ProjectKey
impl<'de> Deserialize<'de> for ProjectKey
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 ProjectKey
Source§impl Hash for ProjectKey
impl Hash for ProjectKey
Source§impl PartialEq for ProjectKey
impl PartialEq for ProjectKey
Source§impl Serialize for ProjectKey
impl Serialize for ProjectKey
impl StructuralPartialEq for ProjectKey
Auto Trait Implementations§
impl Freeze for ProjectKey
impl RefUnwindSafe for ProjectKey
impl Send for ProjectKey
impl Sync for ProjectKey
impl Unpin for ProjectKey
impl UnsafeUnpin for ProjectKey
impl UnwindSafe for ProjectKey
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.