Struct google_compute1::api::RequestMirrorPolicy
source · pub struct RequestMirrorPolicy {
pub backend_service: Option<String>,
}
Expand description
A policy that specifies how requests intended for the route’s backends are shadowed to a separate mirrored backend service. The load balancer doesn’t wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow.
This type is not used in any activity, and only used as part of another schema.
Fields§
§backend_service: Option<String>
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
Trait Implementations§
source§impl Clone for RequestMirrorPolicy
impl Clone for RequestMirrorPolicy
source§fn clone(&self) -> RequestMirrorPolicy
fn clone(&self) -> RequestMirrorPolicy
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 RequestMirrorPolicy
impl Debug for RequestMirrorPolicy
source§impl Default for RequestMirrorPolicy
impl Default for RequestMirrorPolicy
source§fn default() -> RequestMirrorPolicy
fn default() -> RequestMirrorPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RequestMirrorPolicy
impl<'de> Deserialize<'de> for RequestMirrorPolicy
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 RequestMirrorPolicy
impl Serialize for RequestMirrorPolicy
impl Part for RequestMirrorPolicy
Auto Trait Implementations§
impl RefUnwindSafe for RequestMirrorPolicy
impl Send for RequestMirrorPolicy
impl Sync for RequestMirrorPolicy
impl Unpin for RequestMirrorPolicy
impl UnwindSafe for RequestMirrorPolicy
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