pub struct ConsulGatewayTlssdsConfigBuilder { /* private fields */ }
Expand description
Builder for ConsulGatewayTlssdsConfig
.
Implementations§
Source§impl ConsulGatewayTlssdsConfigBuilder
impl ConsulGatewayTlssdsConfigBuilder
Sourcepub fn cluster_name(&mut self, value: Option<String>) -> &mut Self
pub fn cluster_name(&mut self, value: Option<String>) -> &mut Self
ClusterName specifies the name of the SDS cluster where Consul should retrieve certificates.
Sourcepub fn cert_resource(&mut self, value: Option<String>) -> &mut Self
pub fn cert_resource(&mut self, value: Option<String>) -> &mut Self
CertResource specifies an SDS resource name
Sourcepub fn build(
&self,
) -> Result<ConsulGatewayTlssdsConfig, ConsulGatewayTlssdsConfigBuilderError>
pub fn build( &self, ) -> Result<ConsulGatewayTlssdsConfig, ConsulGatewayTlssdsConfigBuilderError>
Trait Implementations§
Source§impl Clone for ConsulGatewayTlssdsConfigBuilder
impl Clone for ConsulGatewayTlssdsConfigBuilder
Source§fn clone(&self) -> ConsulGatewayTlssdsConfigBuilder
fn clone(&self) -> ConsulGatewayTlssdsConfigBuilder
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 ConsulGatewayTlssdsConfigBuilder
impl RefUnwindSafe for ConsulGatewayTlssdsConfigBuilder
impl Send for ConsulGatewayTlssdsConfigBuilder
impl Sync for ConsulGatewayTlssdsConfigBuilder
impl Unpin for ConsulGatewayTlssdsConfigBuilder
impl UnwindSafe for ConsulGatewayTlssdsConfigBuilder
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