#[non_exhaustive]pub struct UpdateRouteInput {
pub environment_identifier: Option<String>,
pub application_identifier: Option<String>,
pub route_identifier: Option<String>,
pub activation_state: Option<RouteActivationState>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.environment_identifier: Option<String>
The ID of the environment in which the route is being updated.
application_identifier: Option<String>
The ID of the application within which the route is being updated.
route_identifier: Option<String>
The unique identifier of the route to update.
activation_state: Option<RouteActivationState>
If set to ACTIVE
, traffic is forwarded to this route’s service after the route is updated.
Implementations§
source§impl UpdateRouteInput
impl UpdateRouteInput
sourcepub fn environment_identifier(&self) -> Option<&str>
pub fn environment_identifier(&self) -> Option<&str>
The ID of the environment in which the route is being updated.
sourcepub fn application_identifier(&self) -> Option<&str>
pub fn application_identifier(&self) -> Option<&str>
The ID of the application within which the route is being updated.
sourcepub fn route_identifier(&self) -> Option<&str>
pub fn route_identifier(&self) -> Option<&str>
The unique identifier of the route to update.
sourcepub fn activation_state(&self) -> Option<&RouteActivationState>
pub fn activation_state(&self) -> Option<&RouteActivationState>
If set to ACTIVE
, traffic is forwarded to this route’s service after the route is updated.
source§impl UpdateRouteInput
impl UpdateRouteInput
sourcepub fn builder() -> UpdateRouteInputBuilder
pub fn builder() -> UpdateRouteInputBuilder
Creates a new builder-style object to manufacture UpdateRouteInput
.
Trait Implementations§
source§impl Clone for UpdateRouteInput
impl Clone for UpdateRouteInput
source§fn clone(&self) -> UpdateRouteInput
fn clone(&self) -> UpdateRouteInput
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 UpdateRouteInput
impl Debug for UpdateRouteInput
source§impl PartialEq for UpdateRouteInput
impl PartialEq for UpdateRouteInput
source§fn eq(&self, other: &UpdateRouteInput) -> bool
fn eq(&self, other: &UpdateRouteInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRouteInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateRouteInput
impl Send for UpdateRouteInput
impl Sync for UpdateRouteInput
impl Unpin for UpdateRouteInput
impl UnwindSafe for UpdateRouteInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.