pub struct RunnerContainersLifecyclePreStopHttpGetHttpHeaders {
pub name: String,
pub value: String,
}Expand description
HTTPHeader describes a custom header to be used in HTTP probes
Fields§
§name: StringThe header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.
value: StringThe header field value
Trait Implementations§
Source§impl Clone for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
impl Clone for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
Source§fn clone(&self) -> RunnerContainersLifecyclePreStopHttpGetHttpHeaders
fn clone(&self) -> RunnerContainersLifecyclePreStopHttpGetHttpHeaders
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 RunnerContainersLifecyclePreStopHttpGetHttpHeaders
impl Default for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
Source§fn default() -> RunnerContainersLifecyclePreStopHttpGetHttpHeaders
fn default() -> RunnerContainersLifecyclePreStopHttpGetHttpHeaders
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
impl<'de> Deserialize<'de> for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
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 RunnerContainersLifecyclePreStopHttpGetHttpHeaders
impl PartialEq for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
Source§fn eq(&self, other: &RunnerContainersLifecyclePreStopHttpGetHttpHeaders) -> bool
fn eq(&self, other: &RunnerContainersLifecyclePreStopHttpGetHttpHeaders) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
Auto Trait Implementations§
impl Freeze for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
impl RefUnwindSafe for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
impl Send for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
impl Sync for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
impl Unpin for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
impl UnwindSafe for RunnerContainersLifecyclePreStopHttpGetHttpHeaders
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