pub struct DeploymentMapEntry {
pub pack: String,
pub handler: String,
pub kind: DeploymentKind,
pub source: PathBuf,
pub datastore: PathBuf,
}Expand description
One row in the deployment map.
source is the absolute path in the dotfiles repo (for symlink
entries — empty for file / directory entries, which are not backed by
a source file). datastore is the absolute path inside <data_dir>
where the entry lives.
Fields§
§pack: String§handler: String§kind: DeploymentKind§source: PathBuf§datastore: PathBufTrait Implementations§
Source§impl Clone for DeploymentMapEntry
impl Clone for DeploymentMapEntry
Source§fn clone(&self) -> DeploymentMapEntry
fn clone(&self) -> DeploymentMapEntry
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 DeploymentMapEntry
impl Debug for DeploymentMapEntry
Source§impl<'de> Deserialize<'de> for DeploymentMapEntry
impl<'de> Deserialize<'de> for DeploymentMapEntry
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 DeploymentMapEntry
impl PartialEq for DeploymentMapEntry
Source§impl Serialize for DeploymentMapEntry
impl Serialize for DeploymentMapEntry
impl Eq for DeploymentMapEntry
impl StructuralPartialEq for DeploymentMapEntry
Auto Trait Implementations§
impl Freeze for DeploymentMapEntry
impl RefUnwindSafe for DeploymentMapEntry
impl Send for DeploymentMapEntry
impl Sync for DeploymentMapEntry
impl Unpin for DeploymentMapEntry
impl UnsafeUnpin for DeploymentMapEntry
impl UnwindSafe for DeploymentMapEntry
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.