pub struct RunnerContainersLifecyclePreStopHttpGet {
pub host: Option<String>,
pub http_headers: Option<Vec<RunnerContainersLifecyclePreStopHttpGetHttpHeaders>>,
pub path: Option<String>,
pub port: IntOrString,
pub scheme: Option<String>,
}Expand description
HTTPGet specifies an HTTP GET request to perform.
Fields§
§host: Option<String>Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead.
http_headers: Option<Vec<RunnerContainersLifecyclePreStopHttpGetHttpHeaders>>Custom headers to set in the request. HTTP allows repeated headers.
path: Option<String>Path to access on the HTTP server.
port: IntOrStringName or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
scheme: Option<String>Scheme to use for connecting to the host. Defaults to HTTP.
Trait Implementations§
Source§impl Clone for RunnerContainersLifecyclePreStopHttpGet
impl Clone for RunnerContainersLifecyclePreStopHttpGet
Source§fn clone(&self) -> RunnerContainersLifecyclePreStopHttpGet
fn clone(&self) -> RunnerContainersLifecyclePreStopHttpGet
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 Default for RunnerContainersLifecyclePreStopHttpGet
impl Default for RunnerContainersLifecyclePreStopHttpGet
Source§fn default() -> RunnerContainersLifecyclePreStopHttpGet
fn default() -> RunnerContainersLifecyclePreStopHttpGet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunnerContainersLifecyclePreStopHttpGet
impl<'de> Deserialize<'de> for RunnerContainersLifecyclePreStopHttpGet
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 PartialEq for RunnerContainersLifecyclePreStopHttpGet
impl PartialEq for RunnerContainersLifecyclePreStopHttpGet
Source§fn eq(&self, other: &RunnerContainersLifecyclePreStopHttpGet) -> bool
fn eq(&self, other: &RunnerContainersLifecyclePreStopHttpGet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RunnerContainersLifecyclePreStopHttpGet
Auto Trait Implementations§
impl Freeze for RunnerContainersLifecyclePreStopHttpGet
impl RefUnwindSafe for RunnerContainersLifecyclePreStopHttpGet
impl Send for RunnerContainersLifecyclePreStopHttpGet
impl Sync for RunnerContainersLifecyclePreStopHttpGet
impl Unpin for RunnerContainersLifecyclePreStopHttpGet
impl UnwindSafe for RunnerContainersLifecyclePreStopHttpGet
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