pub struct ConsulExposeConfigBuilder { /* private fields */ }
Expand description
Builder for ConsulExposeConfig
.
Implementations§
Source§impl ConsulExposeConfigBuilder
impl ConsulExposeConfigBuilder
pub fn paths(&mut self, value: Option<Vec<ConsulExposePath>>) -> &mut Self
pub fn path(&mut self, value: Vec<ConsulExposePath>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ConsulExposeConfig, ConsulExposeConfigBuilderError>
pub fn build( &self, ) -> Result<ConsulExposeConfig, ConsulExposeConfigBuilderError>
Trait Implementations§
Source§impl Clone for ConsulExposeConfigBuilder
impl Clone for ConsulExposeConfigBuilder
Source§fn clone(&self) -> ConsulExposeConfigBuilder
fn clone(&self) -> ConsulExposeConfigBuilder
Returns a duplicate 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 ConsulExposeConfigBuilder
impl RefUnwindSafe for ConsulExposeConfigBuilder
impl Send for ConsulExposeConfigBuilder
impl Sync for ConsulExposeConfigBuilder
impl Unpin for ConsulExposeConfigBuilder
impl UnwindSafe for ConsulExposeConfigBuilder
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