pub struct ConsulExposePath {
pub path: String,
pub protocol: String,
pub local_path_port: Option<i64>,
pub listener_port: Option<String>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§path: String
§protocol: String
§local_path_port: Option<i64>
§listener_port: Option<String>
Trait Implementations§
Source§impl Clone for ConsulExposePath
impl Clone for ConsulExposePath
Source§fn clone(&self) -> ConsulExposePath
fn clone(&self) -> ConsulExposePath
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 ConsulExposePath
impl Debug for ConsulExposePath
Source§impl Default for ConsulExposePath
impl Default for ConsulExposePath
Source§fn default() -> ConsulExposePath
fn default() -> ConsulExposePath
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsulExposePath
impl<'de> Deserialize<'de> for ConsulExposePath
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 ConsulExposePath
impl PartialEq for ConsulExposePath
Source§impl Serialize for ConsulExposePath
impl Serialize for ConsulExposePath
impl StructuralPartialEq for ConsulExposePath
Auto Trait Implementations§
impl Freeze for ConsulExposePath
impl RefUnwindSafe for ConsulExposePath
impl Send for ConsulExposePath
impl Sync for ConsulExposePath
impl Unpin for ConsulExposePath
impl UnwindSafe for ConsulExposePath
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