pub struct ConsulSidecarService {
pub tags: Option<Vec<String>>,
pub port: Option<String>,
pub proxy: Option<Box<ConsulProxy>>,
}
Fields§
§port: Option<String>
§proxy: Option<Box<ConsulProxy>>
Implementations§
Source§impl ConsulSidecarService
impl ConsulSidecarService
pub fn new() -> ConsulSidecarService
Trait Implementations§
Source§impl Clone for ConsulSidecarService
impl Clone for ConsulSidecarService
Source§fn clone(&self) -> ConsulSidecarService
fn clone(&self) -> ConsulSidecarService
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 ConsulSidecarService
impl Debug for ConsulSidecarService
Source§impl<'de> Deserialize<'de> for ConsulSidecarService
impl<'de> Deserialize<'de> for ConsulSidecarService
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 ConsulSidecarService
impl PartialEq for ConsulSidecarService
Source§impl Serialize for ConsulSidecarService
impl Serialize for ConsulSidecarService
impl StructuralPartialEq for ConsulSidecarService
Auto Trait Implementations§
impl Freeze for ConsulSidecarService
impl RefUnwindSafe for ConsulSidecarService
impl Send for ConsulSidecarService
impl Sync for ConsulSidecarService
impl Unpin for ConsulSidecarService
impl UnwindSafe for ConsulSidecarService
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