pub struct FileStep {
pub path: AbsPath,
pub state: FileState,
pub owner: Option<UserName>,
pub group: Option<GroupName>,
pub mode: Option<Mode>,
}Expand description
A file step: a path made a folder, removed, made a link, or downloaded.
Fields§
§path: AbsPathThe path in the machine.
state: FileStateWhat it becomes.
owner: Option<UserName>Its owner (default root).
group: Option<GroupName>Its group (default the owner’s).
mode: Option<Mode>Its mode.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileStep
impl<'de> Deserialize<'de> for FileStep
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 FileStep
Source§impl JsonSchema for FileStep
impl JsonSchema for FileStep
Source§fn json_schema(g: &mut SchemaGenerator) -> Schema
fn json_schema(g: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for FileStep
Auto Trait Implementations§
impl Freeze for FileStep
impl RefUnwindSafe for FileStep
impl Send for FileStep
impl Sync for FileStep
impl Unpin for FileStep
impl UnsafeUnpin for FileStep
impl UnwindSafe for FileStep
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.