#[non_exhaustive]pub struct ComponentInstanceBuilder { /* private fields */ }
Implementations§
source§impl ComponentInstanceBuilder
impl ComponentInstanceBuilder
pub fn instance_id(self, v: String) -> Self
pub fn image_ref(self, v: String) -> Self
pub fn revision(self, v: i32) -> Self
pub fn max_instances(self, v: u32) -> Self
pub fn annotations(self, v: BTreeMap<String, String>) -> Self
pub fn build(self) -> Result<ComponentInstance, Box<dyn Error + Send + Sync>>
Trait Implementations§
source§impl Clone for ComponentInstanceBuilder
impl Clone for ComponentInstanceBuilder
source§fn clone(&self) -> ComponentInstanceBuilder
fn clone(&self) -> ComponentInstanceBuilder
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 Default for ComponentInstanceBuilder
impl Default for ComponentInstanceBuilder
source§fn default() -> ComponentInstanceBuilder
fn default() -> ComponentInstanceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ComponentInstanceBuilder
impl PartialEq for ComponentInstanceBuilder
impl Eq for ComponentInstanceBuilder
impl StructuralPartialEq for ComponentInstanceBuilder
Auto Trait Implementations§
impl Freeze for ComponentInstanceBuilder
impl RefUnwindSafe for ComponentInstanceBuilder
impl Send for ComponentInstanceBuilder
impl Sync for ComponentInstanceBuilder
impl Unpin for ComponentInstanceBuilder
impl UnwindSafe for ComponentInstanceBuilder
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.