pub struct Etcd {
pub local: Option<LocalEtcd>,
pub external: Option<ExternalEtcd>,
}
Expand description
Etcd contains elements describing Etcd configuration.
Fields§
§local: Option<LocalEtcd>
Local provides configuration knobs for configuring the local etcd instance Local and External are mutually exclusive
external: Option<ExternalEtcd>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Etcd
impl<'de> Deserialize<'de> for Etcd
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 Etcd
impl RefUnwindSafe for Etcd
impl Send for Etcd
impl Sync for Etcd
impl Unpin for Etcd
impl UnwindSafe for Etcd
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