Struct cli::types::ScriptSections
source · [−]pub struct ScriptSections {
pub pre: Option<String>,
pub main: Option<String>,
pub post: Option<String>,
}
Expand description
Script content split to parts to enable a more fine tuned extension capability
Fields
pre: Option<String>
Script section
main: Option<String>
Script section
post: Option<String>
Script section
Trait Implementations
sourceimpl Clone for ScriptSections
impl Clone for ScriptSections
sourcefn clone(&self) -> ScriptSections
fn clone(&self) -> ScriptSections
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScriptSections
impl Debug for ScriptSections
sourceimpl<'de> Deserialize<'de> for ScriptSections
impl<'de> Deserialize<'de> for ScriptSections
sourcefn 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
sourceimpl Serialize for ScriptSections
impl Serialize for ScriptSections
Auto Trait Implementations
impl RefUnwindSafe for ScriptSections
impl Send for ScriptSections
impl Sync for ScriptSections
impl Unpin for ScriptSections
impl UnwindSafe for ScriptSections
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more