pub struct AppEntry {
pub source: String,
pub destination: PathBuf,
pub backup: Option<PathBuf>,
pub content_hash: u64,
pub install_strategy: AppInstallStrategy,
pub uses_env: bool,
pub requires_admin: bool,
}Fields§
§source: String§destination: PathBuf§backup: Option<PathBuf>§content_hash: u64§install_strategy: AppInstallStrategy§uses_env: boolTrue when the template transform was applied during install.
Used by config upgrade to skip files that never used env vars.
requires_admin: boolTrue when installing/removing this file requires elevated (sudo) permissions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppEntry
impl<'de> Deserialize<'de> for AppEntry
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 AppEntry
impl StructuralPartialEq for AppEntry
Auto Trait Implementations§
impl Freeze for AppEntry
impl RefUnwindSafe for AppEntry
impl Send for AppEntry
impl Sync for AppEntry
impl Unpin for AppEntry
impl UnsafeUnpin for AppEntry
impl UnwindSafe for AppEntry
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>,
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.