Struct k8s_openapi::api::networking::v1beta1::IPAddress
source · pub struct IPAddress {
pub metadata: ObjectMeta,
pub spec: Option<IPAddressSpec>,
}
Expand description
IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
Fields§
§metadata: ObjectMeta
Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec: Option<IPAddressSpec>
spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Trait Implementations§
source§impl DeepMerge for IPAddress
impl DeepMerge for IPAddress
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl<'de> Deserialize<'de> for IPAddress
impl<'de> Deserialize<'de> for IPAddress
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>,
source§impl ListableResource for IPAddress
impl ListableResource for IPAddress
source§impl Resource for IPAddress
impl Resource for IPAddress
source§const API_VERSION: &'static str = "networking.k8s.io/v1beta1"
const API_VERSION: &'static str = "networking.k8s.io/v1beta1"
Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read moresource§const GROUP: &'static str = "networking.k8s.io"
const GROUP: &'static str = "networking.k8s.io"
source§const URL_PATH_SEGMENT: &'static str = "ipaddresses"
const URL_PATH_SEGMENT: &'static str = "ipaddresses"
source§type Scope = ClusterResourceScope
type Scope = ClusterResourceScope
impl StructuralPartialEq for IPAddress
Auto Trait Implementations§
impl Freeze for IPAddress
impl RefUnwindSafe for IPAddress
impl Send for IPAddress
impl Sync for IPAddress
impl Unpin for IPAddress
impl UnwindSafe for IPAddress
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)