Struct bollard_stubs::models::Address
source · pub struct Address {
pub addr: Option<String>,
pub prefix_len: Option<i64>,
}
Expand description
Address represents an IPv4 or IPv6 IP address.
Fields§
§addr: Option<String>
IP address.
prefix_len: Option<i64>
Mask length of the IP address.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Address
impl<'de> Deserialize<'de> for Address
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