pub struct SendKeyCommandBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SendKeyCommandBuilder<S>
impl<S: State> SendKeyCommandBuilder<S>
Sourcepub fn build(self) -> SendKeyCommandwhere
S: IsComplete,
pub fn build(self) -> SendKeyCommandwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn keys(self, value: String) -> SendKeyCommandBuilder<SetKeys<S>>where
S::Keys: IsUnset,
pub fn keys(self, value: String) -> SendKeyCommandBuilder<SetKeys<S>>where
S::Keys: IsUnset,
Required.
Sourcepub fn match_spec(self, value: String) -> SendKeyCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn match_spec(self, value: String) -> SendKeyCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn maybe_match_spec(
self,
value: Option<String>,
) -> SendKeyCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn maybe_match_spec(
self,
value: Option<String>,
) -> SendKeyCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn match_tab(self, value: String) -> SendKeyCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
pub fn match_tab(self, value: String) -> SendKeyCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
Sourcepub fn maybe_match_tab(
self,
value: Option<String>,
) -> SendKeyCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
pub fn maybe_match_tab(
self,
value: Option<String>,
) -> SendKeyCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
Sourcepub fn all(self, value: bool) -> SendKeyCommandBuilder<SetAll<S>>where
S::All: IsUnset,
pub fn all(self, value: bool) -> SendKeyCommandBuilder<SetAll<S>>where
S::All: IsUnset,
Sourcepub fn maybe_all(self, value: Option<bool>) -> SendKeyCommandBuilder<SetAll<S>>where
S::All: IsUnset,
pub fn maybe_all(self, value: Option<bool>) -> SendKeyCommandBuilder<SetAll<S>>where
S::All: IsUnset,
Sourcepub fn exclude_active(
self,
value: bool,
) -> SendKeyCommandBuilder<SetExcludeActive<S>>where
S::ExcludeActive: IsUnset,
pub fn exclude_active(
self,
value: bool,
) -> SendKeyCommandBuilder<SetExcludeActive<S>>where
S::ExcludeActive: IsUnset,
Sourcepub fn maybe_exclude_active(
self,
value: Option<bool>,
) -> SendKeyCommandBuilder<SetExcludeActive<S>>where
S::ExcludeActive: IsUnset,
pub fn maybe_exclude_active(
self,
value: Option<bool>,
) -> SendKeyCommandBuilder<SetExcludeActive<S>>where
S::ExcludeActive: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for SendKeyCommandBuilder<S>
impl<S> RefUnwindSafe for SendKeyCommandBuilder<S>
impl<S> Send for SendKeyCommandBuilder<S>
impl<S> Sync for SendKeyCommandBuilder<S>
impl<S> Unpin for SendKeyCommandBuilder<S>
impl<S> UnwindSafe for SendKeyCommandBuilder<S>
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