pub struct LayoutFile {
pub path: String,
pub template: String,
pub when: Option<String>,
}Fields§
§path: String§template: String§when: Option<String>Optional condition expression (evaluated as minijinja expression).
Trait Implementations§
Source§impl Clone for LayoutFile
impl Clone for LayoutFile
Source§fn clone(&self) -> LayoutFile
fn clone(&self) -> LayoutFile
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 LayoutFile
impl Debug for LayoutFile
Source§impl<'de> Deserialize<'de> for LayoutFile
impl<'de> Deserialize<'de> for LayoutFile
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 LayoutFile
impl RefUnwindSafe for LayoutFile
impl Send for LayoutFile
impl Sync for LayoutFile
impl Unpin for LayoutFile
impl UnsafeUnpin for LayoutFile
impl UnwindSafe for LayoutFile
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