Struct google_compute1::api::HttpFaultDelay
source · pub struct HttpFaultDelay {
pub fixed_delay: Option<Duration>,
pub percentage: Option<f64>,
}
Expand description
Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection.
This type is not used in any activity, and only used as part of another schema.
Fields§
§fixed_delay: Option<Duration>
Specifies the value of the fixed delay interval.
percentage: Option<f64>
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
Trait Implementations§
source§impl Clone for HttpFaultDelay
impl Clone for HttpFaultDelay
source§fn clone(&self) -> HttpFaultDelay
fn clone(&self) -> HttpFaultDelay
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 HttpFaultDelay
impl Debug for HttpFaultDelay
source§impl Default for HttpFaultDelay
impl Default for HttpFaultDelay
source§fn default() -> HttpFaultDelay
fn default() -> HttpFaultDelay
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HttpFaultDelay
impl<'de> Deserialize<'de> for HttpFaultDelay
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 HttpFaultDelay
impl Serialize for HttpFaultDelay
impl Part for HttpFaultDelay
Auto Trait Implementations§
impl RefUnwindSafe for HttpFaultDelay
impl Send for HttpFaultDelay
impl Sync for HttpFaultDelay
impl Unpin for HttpFaultDelay
impl UnwindSafe for HttpFaultDelay
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