pub enum FileSource {
Source(String),
Content(String),
Input(InputName),
Secret(String),
}Expand description
Where a file’s contents come from.
Variants§
Source(String)
A file of the project, copied as it is.
Content(String)
The text written in the spec.
Input(InputName)
An input’s value, given at each start.
Secret(String)
A secret’s value, read from its store at each start.
Implementations§
Trait Implementations§
Source§impl Clone for FileSource
impl Clone for FileSource
Source§impl Debug for FileSource
impl Debug for FileSource
impl Eq for FileSource
Source§impl PartialEq for FileSource
impl PartialEq for FileSource
impl StructuralPartialEq for FileSource
Auto Trait Implementations§
impl Freeze for FileSource
impl RefUnwindSafe for FileSource
impl Send for FileSource
impl Sync for FileSource
impl Unpin for FileSource
impl UnsafeUnpin for FileSource
impl UnwindSafe for FileSource
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,
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.