[−][src]Struct memora::config::Manifest
A Memora build artifact cache manifest.
Fields
cache_root_dir: PathBuf
The root directory of the build artifact cache for a Git repository.
The path can be absolute or relative to the root of the Git repository.
artifacts: Artifacts
The Artifacts.
Each Artifact must have a name. This name is used as artifact
argument to Memora
subcommands, so it should be kept short. The name of an Artifact must be unique among all
Artifacts in a Memora manifest.
See Artifacts for more details on Artifacts.
disable_env_var: Option<String>
Optional name of an environment variable that, if set, disables the cache.
Implementations
impl Manifest
[src]
pub fn from_path(path: &Path) -> Result<Manifest>
[src]
Load a Manifest from the file at path
.
This function deserializes the Manifest file and adds the given path
as input to each
artifact.
Trait Implementations
impl Debug for Manifest
[src]
impl<'de> Deserialize<'de> for Manifest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnwindSafe for Manifest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,