pub struct ConsulProxy {
pub local_service_address: Option<String>,
pub local_service_port: Option<i32>,
pub upstreams: Option<Vec<ConsulUpstream>>,
pub config: Option<HashMap<String, Value>>,
}
Fields§
§local_service_address: Option<String>
§local_service_port: Option<i32>
§upstreams: Option<Vec<ConsulUpstream>>
§config: Option<HashMap<String, Value>>
Implementations§
Source§impl ConsulProxy
impl ConsulProxy
pub fn new() -> ConsulProxy
Trait Implementations§
Source§impl Clone for ConsulProxy
impl Clone for ConsulProxy
Source§fn clone(&self) -> ConsulProxy
fn clone(&self) -> ConsulProxy
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 ConsulProxy
impl Debug for ConsulProxy
Source§impl<'de> Deserialize<'de> for ConsulProxy
impl<'de> Deserialize<'de> for ConsulProxy
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
Source§impl PartialEq for ConsulProxy
impl PartialEq for ConsulProxy
Source§impl Serialize for ConsulProxy
impl Serialize for ConsulProxy
impl StructuralPartialEq for ConsulProxy
Auto Trait Implementations§
impl Freeze for ConsulProxy
impl RefUnwindSafe for ConsulProxy
impl Send for ConsulProxy
impl Sync for ConsulProxy
impl Unpin for ConsulProxy
impl UnwindSafe for ConsulProxy
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