pub struct RouteDestinations {
pub destination_ids: Option<Vec<String>>,
pub propagate_service: Option<bool>,
}Expand description
Information about route destinations for the Gateway API service mesh.
This type is not used in any activity, and only used as part of another schema.
Fields§
§destination_ids: Option<Vec<String>>Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and “@self” to include the Target cluster.
propagate_service: Option<bool>Optional. Whether to propagate the Kubernetes Service to the route destination clusters. The Service will always be deployed to the Target cluster even if the HTTPRoute is not. This option may be used to facilitate successful DNS lookup in the route destination clusters. Can only be set to true if destinations are specified.
Trait Implementations§
Source§impl Clone for RouteDestinations
impl Clone for RouteDestinations
Source§fn clone(&self) -> RouteDestinations
fn clone(&self) -> RouteDestinations
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 RouteDestinations
impl Debug for RouteDestinations
Source§impl Default for RouteDestinations
impl Default for RouteDestinations
Source§fn default() -> RouteDestinations
fn default() -> RouteDestinations
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RouteDestinations
impl<'de> Deserialize<'de> for RouteDestinations
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 RouteDestinations
impl Serialize for RouteDestinations
impl Part for RouteDestinations
Auto Trait Implementations§
impl Freeze for RouteDestinations
impl RefUnwindSafe for RouteDestinations
impl Send for RouteDestinations
impl Sync for RouteDestinations
impl Unpin for RouteDestinations
impl UnwindSafe for RouteDestinations
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