pub struct LegacyVersionFileConfig {
pub enable: bool,
pub strategy: String,
}Expand description
Legacy version file configuration written to config.yaml.
Fields§
§enable: boolWhether legacy file parsing is enabled.
strategy: StringLegacy parsing strategy.
Trait Implementations§
Source§impl Clone for LegacyVersionFileConfig
impl Clone for LegacyVersionFileConfig
Source§fn clone(&self) -> LegacyVersionFileConfig
fn clone(&self) -> LegacyVersionFileConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LegacyVersionFileConfig
impl Debug for LegacyVersionFileConfig
Source§impl Default for LegacyVersionFileConfig
impl Default for LegacyVersionFileConfig
Source§impl<'de> Deserialize<'de> for LegacyVersionFileConfigwhere
LegacyVersionFileConfig: Default,
impl<'de> Deserialize<'de> for LegacyVersionFileConfigwhere
LegacyVersionFileConfig: Default,
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 LegacyVersionFileConfig
impl RefUnwindSafe for LegacyVersionFileConfig
impl Send for LegacyVersionFileConfig
impl Sync for LegacyVersionFileConfig
impl Unpin for LegacyVersionFileConfig
impl UnsafeUnpin for LegacyVersionFileConfig
impl UnwindSafe for LegacyVersionFileConfig
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