Struct google_tpu1_alpha1::api::NetworkEndpoint
source · pub struct NetworkEndpoint {
pub ip_address: Option<String>,
pub port: Option<i32>,
}
Expand description
A network endpoint over which a TPU worker can be reached.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ip_address: Option<String>
The IP address of this network endpoint.
port: Option<i32>
The port of this network endpoint.
Trait Implementations§
source§impl Clone for NetworkEndpoint
impl Clone for NetworkEndpoint
source§fn clone(&self) -> NetworkEndpoint
fn clone(&self) -> NetworkEndpoint
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 Debug for NetworkEndpoint
impl Debug for NetworkEndpoint
source§impl Default for NetworkEndpoint
impl Default for NetworkEndpoint
source§fn default() -> NetworkEndpoint
fn default() -> NetworkEndpoint
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NetworkEndpoint
impl<'de> Deserialize<'de> for NetworkEndpoint
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 Serialize for NetworkEndpoint
impl Serialize for NetworkEndpoint
impl Part for NetworkEndpoint
Auto Trait Implementations§
impl RefUnwindSafe for NetworkEndpoint
impl Send for NetworkEndpoint
impl Sync for NetworkEndpoint
impl Unpin for NetworkEndpoint
impl UnwindSafe for NetworkEndpoint
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