Struct wasmcloud_control_interface::HostBuilder
source · #[non_exhaustive]pub struct HostBuilder { /* private fields */ }
Implementations§
source§impl HostBuilder
impl HostBuilder
pub fn rpc_host(self, v: String) -> Self
pub fn ctl_host(self, v: String) -> Self
pub fn friendly_name(self, v: String) -> Self
pub fn id(self, v: String) -> Self
pub fn js_domain(self, v: String) -> Self
pub fn lattice(self, v: String) -> Self
pub fn labels(self, v: BTreeMap<String, String>) -> Self
pub fn uptime_human(self, v: String) -> Self
pub fn uptime_seconds(self, v: u64) -> Self
pub fn version(self, v: String) -> Self
pub fn build(self) -> Result<Host, Box<dyn Error + Send + Sync>>
Trait Implementations§
source§impl Clone for HostBuilder
impl Clone for HostBuilder
source§fn clone(&self) -> HostBuilder
fn clone(&self) -> HostBuilder
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 HostBuilder
impl Default for HostBuilder
source§fn default() -> HostBuilder
fn default() -> HostBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HostBuilder
impl PartialEq for HostBuilder
impl Eq for HostBuilder
impl StructuralPartialEq for HostBuilder
Auto Trait Implementations§
impl Freeze for HostBuilder
impl RefUnwindSafe for HostBuilder
impl Send for HostBuilder
impl Sync for HostBuilder
impl Unpin for HostBuilder
impl UnwindSafe for HostBuilder
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.