Struct google_ml1::api::GoogleCloudMlV1__ContainerPort
source · pub struct GoogleCloudMlV1__ContainerPort {
pub container_port: Option<i32>,
}
Expand description
Represents a network port in a single container. This message is a subset of the Kubernetes ContainerPort v1 core specification.
This type is not used in any activity, and only used as part of another schema.
Fields§
§container_port: Option<i32>
Number of the port to expose on the container. This must be a valid port number: 0 < PORT_NUMBER < 65536.
Trait Implementations§
source§impl Clone for GoogleCloudMlV1__ContainerPort
impl Clone for GoogleCloudMlV1__ContainerPort
source§fn clone(&self) -> GoogleCloudMlV1__ContainerPort
fn clone(&self) -> GoogleCloudMlV1__ContainerPort
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 Default for GoogleCloudMlV1__ContainerPort
impl Default for GoogleCloudMlV1__ContainerPort
source§fn default() -> GoogleCloudMlV1__ContainerPort
fn default() -> GoogleCloudMlV1__ContainerPort
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudMlV1__ContainerPort
impl<'de> Deserialize<'de> for GoogleCloudMlV1__ContainerPort
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
impl Part for GoogleCloudMlV1__ContainerPort
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudMlV1__ContainerPort
impl Send for GoogleCloudMlV1__ContainerPort
impl Sync for GoogleCloudMlV1__ContainerPort
impl Unpin for GoogleCloudMlV1__ContainerPort
impl UnwindSafe for GoogleCloudMlV1__ContainerPort
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