pub struct IncludeConfig {
pub path: String,
pub initial: Option<Vec<Value>>,
pub patches: Vec<Value>,
pub watch: bool,
}Fields§
§path: String§initial: Option<Vec<Value>>Written if the file does not exist yet.
patches: Vec<Value>§watch: boolRe-read the file whenever it changes (needs the fs service).
Trait Implementations§
Source§impl Clone for IncludeConfig
impl Clone for IncludeConfig
Source§impl Debug for IncludeConfig
impl Debug for IncludeConfig
Source§impl<'de> Deserialize<'de> for IncludeConfig
impl<'de> Deserialize<'de> for IncludeConfig
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
Source§impl PartialEq for IncludeConfig
impl PartialEq for IncludeConfig
impl StructuralPartialEq for IncludeConfig
Auto Trait Implementations§
impl Forget for IncludeConfig
impl Freeze for IncludeConfig
impl Move for IncludeConfig
impl RefUnwindSafe for IncludeConfig
impl Send for IncludeConfig
impl Sync for IncludeConfig
impl Unpin for IncludeConfig
impl UnsafeUnpin for IncludeConfig
impl UnwindSafe for IncludeConfig
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