pub struct GetColorsCommandBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> GetColorsCommandBuilder<S>
impl<S: State> GetColorsCommandBuilder<S>
Sourcepub fn build(self) -> GetColorsCommandwhere
S: IsComplete,
pub fn build(self) -> GetColorsCommandwhere
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn match_spec(
self,
value: String,
) -> GetColorsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn match_spec(
self,
value: String,
) -> GetColorsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn maybe_match_spec(
self,
value: Option<String>,
) -> GetColorsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn maybe_match_spec(
self,
value: Option<String>,
) -> GetColorsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn configured(
self,
value: bool,
) -> GetColorsCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
pub fn configured(
self,
value: bool,
) -> GetColorsCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
Sourcepub fn maybe_configured(
self,
value: Option<bool>,
) -> GetColorsCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
pub fn maybe_configured(
self,
value: Option<bool>,
) -> GetColorsCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for GetColorsCommandBuilder<S>
impl<S> RefUnwindSafe for GetColorsCommandBuilder<S>
impl<S> Send for GetColorsCommandBuilder<S>
impl<S> Sync for GetColorsCommandBuilder<S>
impl<S> Unpin for GetColorsCommandBuilder<S>
impl<S> UnwindSafe for GetColorsCommandBuilder<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