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