pub struct ConsulLinkedServiceBuilder { /* private fields */ }
Expand description
Builder for ConsulLinkedService
.
Implementations§
Source§impl ConsulLinkedServiceBuilder
impl ConsulLinkedServiceBuilder
pub fn name(&mut self, value: String) -> &mut Self
pub fn ca_file(&mut self, value: Option<String>) -> &mut Self
pub fn cert_file(&mut self, value: Option<String>) -> &mut Self
pub fn key_file(&mut self, value: Option<String>) -> &mut Self
pub fn sni(&mut self, value: String) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ConsulLinkedService, ConsulLinkedServiceBuilderError>
pub fn build( &self, ) -> Result<ConsulLinkedService, ConsulLinkedServiceBuilderError>
Trait Implementations§
Source§impl Clone for ConsulLinkedServiceBuilder
impl Clone for ConsulLinkedServiceBuilder
Source§fn clone(&self) -> ConsulLinkedServiceBuilder
fn clone(&self) -> ConsulLinkedServiceBuilder
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 ConsulLinkedServiceBuilder
impl RefUnwindSafe for ConsulLinkedServiceBuilder
impl Send for ConsulLinkedServiceBuilder
impl Sync for ConsulLinkedServiceBuilder
impl Unpin for ConsulLinkedServiceBuilder
impl UnwindSafe for ConsulLinkedServiceBuilder
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