pub struct ReadPathsConfig {
pub allow: Vec<String>,
}Expand description
The [read_paths] section of a manifest: raw declared entries, compiled
against the run’s workdir and home at spawn.
Fields§
§allow: Vec<String>Declared entries. Each may be:
- an exact path, granting its subtree:
"~/.leviath/runs"or"../shared-docs"(relative to the run’s workdir) - a glob:
"glob:~/.leviath/runs/**" - a regex, auto-anchored:
"regex:/data/design-docs/.*"
Patterns are written with / separators on every OS and match the
symlink-resolved real path.
Trait Implementations§
Source§impl Clone for ReadPathsConfig
impl Clone for ReadPathsConfig
Source§fn clone(&self) -> ReadPathsConfig
fn clone(&self) -> ReadPathsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReadPathsConfig
impl Debug for ReadPathsConfig
Source§impl<'de> Deserialize<'de> for ReadPathsConfig
impl<'de> Deserialize<'de> for ReadPathsConfig
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 ReadPathsConfig
impl RefUnwindSafe for ReadPathsConfig
impl Send for ReadPathsConfig
impl Sync for ReadPathsConfig
impl Unpin for ReadPathsConfig
impl UnsafeUnpin for ReadPathsConfig
impl UnwindSafe for ReadPathsConfig
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