pub struct ForkConfig {
pub trigger: String,
pub negative_output: String,
pub positive_output: String,
pub match_any: Option<String>,
pub match_none: Option<String>,
pub kept_modifiers: Option<String>,
pub bindable: Option<bool>,
}Expand description
Configurations for fork
Fields§
§trigger: String§negative_output: String§positive_output: String§match_any: Option<String>§match_none: Option<String>§kept_modifiers: Option<String>§bindable: Option<bool>Trait Implementations§
Source§impl Clone for ForkConfig
impl Clone for ForkConfig
Source§fn clone(&self) -> ForkConfig
fn clone(&self) -> ForkConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForkConfig
impl Debug for ForkConfig
Source§impl<'de> Deserialize<'de> for ForkConfig
impl<'de> Deserialize<'de> for ForkConfig
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 ForkConfig
impl RefUnwindSafe for ForkConfig
impl Send for ForkConfig
impl Sync for ForkConfig
impl Unpin for ForkConfig
impl UnwindSafe for ForkConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)