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