pub struct ConvertConfig {
pub from_format: Option<String>,
pub to_format: Option<String>,
pub file_extensions: Option<Vec<String>>,
pub recursive: Option<bool>,
pub prefix: Option<String>,
pub suffix: Option<String>,
pub glob: Option<String>,
pub word_filter: Option<String>,
}Expand description
Configuration for the convert step.
Fields§
§from_format: Option<String>§to_format: Option<String>§file_extensions: Option<Vec<String>>§recursive: Option<bool>§prefix: Option<String>§suffix: Option<String>§glob: Option<String>§word_filter: Option<String>Implementations§
Source§impl ConvertConfig
impl ConvertConfig
pub fn parse_from_format(&self) -> Option<CaseFormat>
pub fn parse_to_format(&self) -> Option<CaseFormat>
Trait Implementations§
Source§impl Clone for ConvertConfig
impl Clone for ConvertConfig
Source§fn clone(&self) -> ConvertConfig
fn clone(&self) -> ConvertConfig
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 ConvertConfig
impl Debug for ConvertConfig
Source§impl Default for ConvertConfig
impl Default for ConvertConfig
Source§fn default() -> ConvertConfig
fn default() -> ConvertConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConvertConfig
impl<'de> Deserialize<'de> for ConvertConfig
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 ConvertConfig
impl RefUnwindSafe for ConvertConfig
impl Send for ConvertConfig
impl Sync for ConvertConfig
impl Unpin for ConvertConfig
impl UnsafeUnpin for ConvertConfig
impl UnwindSafe for ConvertConfig
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