pub struct ConsulSidecarServiceBuilder { /* private fields */ }
Expand description
Builder for ConsulSidecarService
.
Implementations§
Source§impl ConsulSidecarServiceBuilder
impl ConsulSidecarServiceBuilder
pub fn port(&mut self, value: String) -> &mut Self
pub fn proxy(&mut self, value: Option<ConsulProxy>) -> &mut Self
pub fn disable_default_tcp_check(&mut self, value: Option<bool>) -> &mut Self
pub fn meta(&mut self, value: HashMap<String, String>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ConsulSidecarService, ConsulSidecarServiceBuilderError>
pub fn build( &self, ) -> Result<ConsulSidecarService, ConsulSidecarServiceBuilderError>
Trait Implementations§
Source§impl Clone for ConsulSidecarServiceBuilder
impl Clone for ConsulSidecarServiceBuilder
Source§fn clone(&self) -> ConsulSidecarServiceBuilder
fn clone(&self) -> ConsulSidecarServiceBuilder
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 moreAuto Trait Implementations§
impl Freeze for ConsulSidecarServiceBuilder
impl RefUnwindSafe for ConsulSidecarServiceBuilder
impl Send for ConsulSidecarServiceBuilder
impl Sync for ConsulSidecarServiceBuilder
impl Unpin for ConsulSidecarServiceBuilder
impl UnwindSafe for ConsulSidecarServiceBuilder
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