pub struct HttpGetAction {
    pub host: Option<String>,
    pub http_headers: Option<Vec<HttpHeader>>,
    pub path: Option<String>,
    pub port: Option<IntOrString>,
    pub scheme: Option<String>,
}Fields§
§host: Option<String>Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
http_headers: Option<Vec<HttpHeader>>Custom headers to set in the request. HTTP allows repeated headers. +optional
path: Option<String>Path to access on the HTTP server. +optional
port: Option<IntOrString>§scheme: Option<String>URIScheme identifies the scheme used for connection to a host for Get actions +enum
Implementations§
Source§impl HttpGetAction
 
impl HttpGetAction
pub fn new() -> HttpGetAction
Trait Implementations§
Source§impl Clone for HttpGetAction
 
impl Clone for HttpGetAction
Source§fn clone(&self) -> HttpGetAction
 
fn clone(&self) -> HttpGetAction
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 HttpGetAction
 
impl Debug for HttpGetAction
Source§impl<'de> Deserialize<'de> for HttpGetAction
 
impl<'de> Deserialize<'de> for HttpGetAction
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 FromStr for HttpGetAction
Converts Query Parameters representation (style=form, explode=false) to a HttpGetAction value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
 
impl FromStr for HttpGetAction
Converts Query Parameters representation (style=form, explode=false) to a HttpGetAction value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for HttpGetAction
 
impl PartialEq for HttpGetAction
Source§impl Serialize for HttpGetAction
 
impl Serialize for HttpGetAction
Source§impl ToString for HttpGetAction
Converts the HttpGetAction value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
 
impl ToString for HttpGetAction
Converts the HttpGetAction value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for HttpGetAction
 
impl Validate for HttpGetAction
Source§impl<'v_a> ValidateArgs<'v_a> for HttpGetAction
 
impl<'v_a> ValidateArgs<'v_a> for HttpGetAction
impl StructuralPartialEq for HttpGetAction
Auto Trait Implementations§
impl Freeze for HttpGetAction
impl RefUnwindSafe for HttpGetAction
impl Send for HttpGetAction
impl Sync for HttpGetAction
impl Unpin for HttpGetAction
impl UnwindSafe for HttpGetAction
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