#[non_exhaustive]pub struct ProviderDescriptionBuilder { /* private fields */ }
Expand description
Builds ProviderDescription
s
Implementations§
source§impl ProviderDescriptionBuilder
impl ProviderDescriptionBuilder
sourcepub fn annotations(self, v: impl Into<BTreeMap<String, String>>) -> Self
pub fn annotations(self, v: impl Into<BTreeMap<String, String>>) -> Self
The annotations that were used in the start request that produced this provider instance
sourcepub fn build(self) -> Result<ProviderDescription, Box<dyn Error + Send + Sync>>
pub fn build(self) -> Result<ProviderDescription, Box<dyn Error + Send + Sync>>
Build a ProviderDescription
Trait Implementations§
source§impl Clone for ProviderDescriptionBuilder
impl Clone for ProviderDescriptionBuilder
source§fn clone(&self) -> ProviderDescriptionBuilder
fn clone(&self) -> ProviderDescriptionBuilder
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 ProviderDescriptionBuilder
impl Debug for ProviderDescriptionBuilder
source§impl Default for ProviderDescriptionBuilder
impl Default for ProviderDescriptionBuilder
source§fn default() -> ProviderDescriptionBuilder
fn default() -> ProviderDescriptionBuilder
Returns the “default value” for a type. Read more
impl Eq for ProviderDescriptionBuilder
impl StructuralPartialEq for ProviderDescriptionBuilder
Auto Trait Implementations§
impl Freeze for ProviderDescriptionBuilder
impl RefUnwindSafe for ProviderDescriptionBuilder
impl Send for ProviderDescriptionBuilder
impl Sync for ProviderDescriptionBuilder
impl Unpin for ProviderDescriptionBuilder
impl UnwindSafe for ProviderDescriptionBuilder
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.