pub struct Route53HealthCheckStatusRequest {
pub status: Route53HealthCheckStatusValue,
pub reason: Option<String>,
}Expand description
Body for POST /_fakecloud/route53/health-checks/{id}/status. The
admin endpoint flips a stored Route 53 health check’s reported
status (and optionally the last-failure-reason observation) so
tests can simulate failover scenarios without a live checker.
Fields§
§status: Route53HealthCheckStatusValueNew status reported by GetHealthCheckStatus. One of
"Success", "Failure", "Timeout", "DnsError",
"InsufficientDataPoints", "Unknown".
reason: Option<String>Optional last-failure observation surfaced by
GetHealthCheckLastFailureReason and appended to the
<Status> element for failure-flavoured statuses (Failure,
Timeout, DnsError). Ignored when status is Success,
InsufficientDataPoints, or Unknown. None leaves the prior
value intact.
Trait Implementations§
Source§impl Clone for Route53HealthCheckStatusRequest
impl Clone for Route53HealthCheckStatusRequest
Source§fn clone(&self) -> Route53HealthCheckStatusRequest
fn clone(&self) -> Route53HealthCheckStatusRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for Route53HealthCheckStatusRequest
impl<'de> Deserialize<'de> for Route53HealthCheckStatusRequest
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
Auto Trait Implementations§
impl Freeze for Route53HealthCheckStatusRequest
impl RefUnwindSafe for Route53HealthCheckStatusRequest
impl Send for Route53HealthCheckStatusRequest
impl Sync for Route53HealthCheckStatusRequest
impl Unpin for Route53HealthCheckStatusRequest
impl UnsafeUnpin for Route53HealthCheckStatusRequest
impl UnwindSafe for Route53HealthCheckStatusRequest
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