#[non_exhaustive]pub struct StartProviderCommandBuilder { /* private fields */ }
Expand description
A builder that produces StartProviderCommand
s
Implementations§
source§impl StartProviderCommandBuilder
impl StartProviderCommandBuilder
pub fn new() -> Self
pub fn provider_ref(self, v: &str) -> Self
pub fn provider_id(self, v: &str) -> Self
pub fn annotations(self, v: impl Into<BTreeMap<String, String>>) -> Self
pub fn host_id(self, v: &str) -> Self
pub fn config(self, v: Vec<String>) -> Self
pub fn build(self) -> Result<StartProviderCommand, Box<dyn Error + Send + Sync>>
Trait Implementations§
source§impl Clone for StartProviderCommandBuilder
impl Clone for StartProviderCommandBuilder
source§fn clone(&self) -> StartProviderCommandBuilder
fn clone(&self) -> StartProviderCommandBuilder
Returns a copy 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 StartProviderCommandBuilder
impl Debug for StartProviderCommandBuilder
source§impl Default for StartProviderCommandBuilder
impl Default for StartProviderCommandBuilder
source§fn default() -> StartProviderCommandBuilder
fn default() -> StartProviderCommandBuilder
Returns the “default value” for a type. Read more
impl Eq for StartProviderCommandBuilder
impl StructuralPartialEq for StartProviderCommandBuilder
Auto Trait Implementations§
impl Freeze for StartProviderCommandBuilder
impl RefUnwindSafe for StartProviderCommandBuilder
impl Send for StartProviderCommandBuilder
impl Sync for StartProviderCommandBuilder
impl Unpin for StartProviderCommandBuilder
impl UnwindSafe for StartProviderCommandBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.