Struct google_compute1::api::HttpHeaderAction
source · pub struct HttpHeaderAction {
pub request_headers_to_add: Option<Vec<HttpHeaderOption>>,
pub request_headers_to_remove: Option<Vec<String>>,
pub response_headers_to_add: Option<Vec<HttpHeaderOption>>,
pub response_headers_to_remove: Option<Vec<String>>,
}
Expand description
The request and response header transformations that take effect before the request is passed along to the selected backendService.
This type is not used in any activity, and only used as part of another schema.
Fields§
§request_headers_to_add: Option<Vec<HttpHeaderOption>>
Headers to add to a matching request before forwarding the request to the backendService.
request_headers_to_remove: Option<Vec<String>>
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
response_headers_to_add: Option<Vec<HttpHeaderOption>>
Headers to add the response before sending the response back to the client.
response_headers_to_remove: Option<Vec<String>>
A list of header names for headers that need to be removed from the response before sending the response back to the client.
Trait Implementations§
source§impl Clone for HttpHeaderAction
impl Clone for HttpHeaderAction
source§fn clone(&self) -> HttpHeaderAction
fn clone(&self) -> HttpHeaderAction
Returns a copy 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 HttpHeaderAction
impl Debug for HttpHeaderAction
source§impl Default for HttpHeaderAction
impl Default for HttpHeaderAction
source§fn default() -> HttpHeaderAction
fn default() -> HttpHeaderAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HttpHeaderAction
impl<'de> Deserialize<'de> for HttpHeaderAction
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 Serialize for HttpHeaderAction
impl Serialize for HttpHeaderAction
impl Part for HttpHeaderAction
Auto Trait Implementations§
impl RefUnwindSafe for HttpHeaderAction
impl Send for HttpHeaderAction
impl Sync for HttpHeaderAction
impl Unpin for HttpHeaderAction
impl UnwindSafe for HttpHeaderAction
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