pub struct ConsulExposeConfig {
pub paths: Option<Vec<ConsulExposePath>>,
pub path: Vec<ConsulExposePath>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§paths: Option<Vec<ConsulExposePath>>
§path: Vec<ConsulExposePath>
Implementations§
Source§impl ConsulExposeConfig
impl ConsulExposeConfig
pub fn builder() -> ConsulExposeConfigBuilder
Trait Implementations§
Source§impl Clone for ConsulExposeConfig
impl Clone for ConsulExposeConfig
Source§fn clone(&self) -> ConsulExposeConfig
fn clone(&self) -> ConsulExposeConfig
Returns a copy 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 ConsulExposeConfig
impl Debug for ConsulExposeConfig
Source§impl<'de> Deserialize<'de> for ConsulExposeConfig
impl<'de> Deserialize<'de> for ConsulExposeConfig
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 ConsulExposeConfig
impl PartialEq for ConsulExposeConfig
Source§impl Serialize for ConsulExposeConfig
impl Serialize for ConsulExposeConfig
impl StructuralPartialEq for ConsulExposeConfig
Auto Trait Implementations§
impl Freeze for ConsulExposeConfig
impl RefUnwindSafe for ConsulExposeConfig
impl Send for ConsulExposeConfig
impl Sync for ConsulExposeConfig
impl Unpin for ConsulExposeConfig
impl UnwindSafe for ConsulExposeConfig
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