pub struct APIEndpoint {
pub advertise_address: Option<String>,
pub bind_port: Option<i32>,
}
Fields§
§advertise_address: Option<String>
AdvertiseAddress sets the IP address for the API server to advertise.
bind_port: Option<i32>
BindPort sets the secure port for the API Server to bind to. Defaults to 6443.
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
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