Struct haproxy_config::sections::AddressRef
source · pub struct AddressRef<'input> {
pub host: HostRef<'input>,
pub port: Option<u16>,
}Expand description
See Address for an owned variant.
Fields§
§host: HostRef<'input>§port: Option<u16>Trait Implementations§
source§impl<'input> Clone for AddressRef<'input>
impl<'input> Clone for AddressRef<'input>
source§fn clone(&self) -> AddressRef<'input>
fn clone(&self) -> AddressRef<'input>
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<'input> Debug for AddressRef<'input>
impl<'input> Debug for AddressRef<'input>
source§impl From<&AddressRef<'_>> for Address
impl From<&AddressRef<'_>> for Address
source§fn from(r: &AddressRef<'_>) -> Self
fn from(r: &AddressRef<'_>) -> Self
Converts to this type from the input type.
source§impl<'input> Hash for AddressRef<'input>
impl<'input> Hash for AddressRef<'input>
source§impl<'input> PartialEq<AddressRef<'input>> for AddressRef<'input>
impl<'input> PartialEq<AddressRef<'input>> for AddressRef<'input>
source§fn eq(&self, other: &AddressRef<'input>) -> bool
fn eq(&self, other: &AddressRef<'input>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.