#[non_exhaustive]pub struct GatewayRouteHostnameMatchBuilder { /* private fields */ }
Expand description
A builder for GatewayRouteHostnameMatch
.
Implementations§
source§impl GatewayRouteHostnameMatchBuilder
impl GatewayRouteHostnameMatchBuilder
sourcepub fn suffix(self, input: impl Into<String>) -> Self
pub fn suffix(self, input: impl Into<String>) -> Self
The specified ending characters of the host name to match on.
sourcepub fn set_suffix(self, input: Option<String>) -> Self
pub fn set_suffix(self, input: Option<String>) -> Self
The specified ending characters of the host name to match on.
sourcepub fn get_suffix(&self) -> &Option<String>
pub fn get_suffix(&self) -> &Option<String>
The specified ending characters of the host name to match on.
sourcepub fn build(self) -> GatewayRouteHostnameMatch
pub fn build(self) -> GatewayRouteHostnameMatch
Consumes the builder and constructs a GatewayRouteHostnameMatch
.
Trait Implementations§
source§impl Clone for GatewayRouteHostnameMatchBuilder
impl Clone for GatewayRouteHostnameMatchBuilder
source§fn clone(&self) -> GatewayRouteHostnameMatchBuilder
fn clone(&self) -> GatewayRouteHostnameMatchBuilder
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 Default for GatewayRouteHostnameMatchBuilder
impl Default for GatewayRouteHostnameMatchBuilder
source§fn default() -> GatewayRouteHostnameMatchBuilder
fn default() -> GatewayRouteHostnameMatchBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GatewayRouteHostnameMatchBuilder
impl PartialEq for GatewayRouteHostnameMatchBuilder
source§fn eq(&self, other: &GatewayRouteHostnameMatchBuilder) -> bool
fn eq(&self, other: &GatewayRouteHostnameMatchBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GatewayRouteHostnameMatchBuilder
Auto Trait Implementations§
impl Freeze for GatewayRouteHostnameMatchBuilder
impl RefUnwindSafe for GatewayRouteHostnameMatchBuilder
impl Send for GatewayRouteHostnameMatchBuilder
impl Sync for GatewayRouteHostnameMatchBuilder
impl Unpin for GatewayRouteHostnameMatchBuilder
impl UnwindSafe for GatewayRouteHostnameMatchBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.