pub enum CheckSourceConfig {
Shell {
command: String,
},
}Expand description
Tagged enum: TOML type = "shell" selects the Shell variant.
Unknown type values fail at parse time — that’s the v0.1 contract
for additive forwards-incompatibility.
Variants§
Trait Implementations§
Source§impl Clone for CheckSourceConfig
impl Clone for CheckSourceConfig
Source§fn clone(&self) -> CheckSourceConfig
fn clone(&self) -> CheckSourceConfig
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 CheckSourceConfig
impl Debug for CheckSourceConfig
Source§impl<'de> Deserialize<'de> for CheckSourceConfig
impl<'de> Deserialize<'de> for CheckSourceConfig
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 CheckSourceConfig
impl RefUnwindSafe for CheckSourceConfig
impl Send for CheckSourceConfig
impl Sync for CheckSourceConfig
impl Unpin for CheckSourceConfig
impl UnsafeUnpin for CheckSourceConfig
impl UnwindSafe for CheckSourceConfig
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