pub struct ApiEndpoint {
pub host: String,
pub port: i32,
}
Expand description
APIEndpoint represents a reachable Kubernetes API endpoint.
Fields§
§host: String
The hostname on which the API server is serving.
port: i32
The port on which the API server is serving.
Implementations§
Trait Implementations§
Source§impl Clone for ApiEndpoint
impl Clone for ApiEndpoint
Source§fn clone(&self) -> ApiEndpoint
fn clone(&self) -> ApiEndpoint
Returns a duplicate 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 ApiEndpoint
impl Debug for ApiEndpoint
Source§impl Default for ApiEndpoint
impl Default for ApiEndpoint
Source§fn default() -> ApiEndpoint
fn default() -> ApiEndpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiEndpoint
impl<'de> Deserialize<'de> for ApiEndpoint
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 Display for ApiEndpoint
impl Display for ApiEndpoint
Auto Trait Implementations§
impl Freeze for ApiEndpoint
impl RefUnwindSafe for ApiEndpoint
impl Send for ApiEndpoint
impl Sync for ApiEndpoint
impl Unpin for ApiEndpoint
impl UnwindSafe for ApiEndpoint
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