pub struct RRSetRoutingPolicy {
pub geo: Option<RRSetRoutingPolicyGeoPolicy>,
pub health_check: Option<String>,
pub kind: Option<String>,
pub primary_backup: Option<RRSetRoutingPolicyPrimaryBackupPolicy>,
pub wrr: Option<RRSetRoutingPolicyWrrPolicy>,
}Expand description
A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.
This type is not used in any activity, and only used as part of another schema.
Fields§
§geo: Option<RRSetRoutingPolicyGeoPolicy>no description provided
health_check: Option<String>The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
kind: Option<String>no description provided
primary_backup: Option<RRSetRoutingPolicyPrimaryBackupPolicy>no description provided
wrr: Option<RRSetRoutingPolicyWrrPolicy>no description provided
Trait Implementations§
Source§impl Clone for RRSetRoutingPolicy
impl Clone for RRSetRoutingPolicy
Source§fn clone(&self) -> RRSetRoutingPolicy
fn clone(&self) -> RRSetRoutingPolicy
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 RRSetRoutingPolicy
impl Debug for RRSetRoutingPolicy
Source§impl Default for RRSetRoutingPolicy
impl Default for RRSetRoutingPolicy
Source§fn default() -> RRSetRoutingPolicy
fn default() -> RRSetRoutingPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RRSetRoutingPolicy
impl<'de> Deserialize<'de> for RRSetRoutingPolicy
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 RRSetRoutingPolicy
impl Serialize for RRSetRoutingPolicy
impl Part for RRSetRoutingPolicy
Auto Trait Implementations§
impl Freeze for RRSetRoutingPolicy
impl RefUnwindSafe for RRSetRoutingPolicy
impl Send for RRSetRoutingPolicy
impl Sync for RRSetRoutingPolicy
impl Unpin for RRSetRoutingPolicy
impl UnwindSafe for RRSetRoutingPolicy
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