pub struct ManagedFileSpec {
pub source: String,
pub target: PathBuf,
pub strategy: Option<FileStrategy>,
pub private: bool,
pub origin: Option<String>,
pub encryption: Option<EncryptionSpec>,
pub permissions: Option<String>,
}Fields§
§source: String§target: PathBuf§strategy: Option<FileStrategy>Per-file deployment strategy override. If None, uses the global default.
private: boolWhen true, the source file is local-only: auto-added to .gitignore, silently skipped on machines where it doesn’t exist.
origin: Option<String>Which source this file came from (None = local config). Used by the template sandbox to restrict variable access.
encryption: Option<EncryptionSpec>Encryption settings for this file.
permissions: Option<String>Unix permission bits (e.g. “600”, “644”) to apply after deployment.
Trait Implementations§
Source§impl Clone for ManagedFileSpec
impl Clone for ManagedFileSpec
Source§fn clone(&self) -> ManagedFileSpec
fn clone(&self) -> ManagedFileSpec
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 ManagedFileSpec
impl Debug for ManagedFileSpec
Source§impl<'de> Deserialize<'de> for ManagedFileSpec
impl<'de> Deserialize<'de> for ManagedFileSpec
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
Auto Trait Implementations§
impl Freeze for ManagedFileSpec
impl RefUnwindSafe for ManagedFileSpec
impl Send for ManagedFileSpec
impl Sync for ManagedFileSpec
impl Unpin for ManagedFileSpec
impl UnsafeUnpin for ManagedFileSpec
impl UnwindSafe for ManagedFileSpec
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