pub struct DiscoveryServiceConfig {
pub address: SocketAddr,
pub auth_authority: PathBuf,
pub tls: Option<TlsConfig>,
}Fields§
§address: SocketAddr§tls: Option<TlsConfig>Trait Implementations§
Source§impl Clone for DiscoveryServiceConfig
impl Clone for DiscoveryServiceConfig
Source§fn clone(&self) -> DiscoveryServiceConfig
fn clone(&self) -> DiscoveryServiceConfig
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 moreSource§impl Debug for DiscoveryServiceConfig
impl Debug for DiscoveryServiceConfig
Source§impl<'de> Deserialize<'de> for DiscoveryServiceConfig
impl<'de> Deserialize<'de> for DiscoveryServiceConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DiscoveryServiceConfig
impl RefUnwindSafe for DiscoveryServiceConfig
impl Send for DiscoveryServiceConfig
impl Sync for DiscoveryServiceConfig
impl Unpin for DiscoveryServiceConfig
impl UnwindSafe for DiscoveryServiceConfig
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