pub struct DiscoveryConfig {
pub protocol: String,
pub discovery_type: String,
pub server_lists: String,
pub register_path: String,
pub plugin_name: String,
pub props: HashMap<String, String>,
}Fields§
§protocol: String§discovery_type: String§server_lists: String§register_path: String§plugin_name: String§props: HashMap<String, String>Trait Implementations§
Source§impl Debug for DiscoveryConfig
impl Debug for DiscoveryConfig
Source§impl<'de> Deserialize<'de> for DiscoveryConfig
impl<'de> Deserialize<'de> for DiscoveryConfig
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 DiscoveryConfig
impl RefUnwindSafe for DiscoveryConfig
impl Send for DiscoveryConfig
impl Sync for DiscoveryConfig
impl Unpin for DiscoveryConfig
impl UnwindSafe for DiscoveryConfig
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