pub enum FileContentConfig {
Static {
content: String,
},
Template {
template: String,
},
Generated {
size: usize,
pattern: GenerationPattern,
},
}Expand description
File content configuration
Variants§
Trait Implementations§
Source§impl Clone for FileContentConfig
impl Clone for FileContentConfig
Source§fn clone(&self) -> FileContentConfig
fn clone(&self) -> FileContentConfig
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 FileContentConfig
impl Debug for FileContentConfig
Source§impl<'de> Deserialize<'de> for FileContentConfig
impl<'de> Deserialize<'de> for FileContentConfig
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 FileContentConfig
impl RefUnwindSafe for FileContentConfig
impl Send for FileContentConfig
impl Sync for FileContentConfig
impl Unpin for FileContentConfig
impl UnwindSafe for FileContentConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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