Struct wasmcloud_control_interface::LinkBuilder
source · #[non_exhaustive]pub struct LinkBuilder { /* private fields */ }
Expand description
Builder that produces Link
s
Implementations§
source§impl LinkBuilder
impl LinkBuilder
pub fn source_id(self, v: &str) -> Self
pub fn target(self, v: &str) -> Self
pub fn name(self, v: &str) -> Self
pub fn wit_namespace(self, v: &str) -> Self
pub fn wit_package(self, v: &str) -> Self
pub fn interfaces(self, v: Vec<String>) -> Self
pub fn source_config(self, v: Vec<String>) -> Self
pub fn target_config(self, v: Vec<String>) -> Self
pub fn build(self) -> Result<Link, Box<dyn Error + Send + Sync>>
Trait Implementations§
source§impl Clone for LinkBuilder
impl Clone for LinkBuilder
source§fn clone(&self) -> LinkBuilder
fn clone(&self) -> LinkBuilder
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 LinkBuilder
impl Debug for LinkBuilder
source§impl Default for LinkBuilder
impl Default for LinkBuilder
source§fn default() -> LinkBuilder
fn default() -> LinkBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LinkBuilder
impl PartialEq for LinkBuilder
impl Eq for LinkBuilder
impl StructuralPartialEq for LinkBuilder
Auto Trait Implementations§
impl Freeze for LinkBuilder
impl RefUnwindSafe for LinkBuilder
impl Send for LinkBuilder
impl Sync for LinkBuilder
impl Unpin for LinkBuilder
impl UnwindSafe for LinkBuilder
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.