#[non_exhaustive]pub struct GrpcGatewayRouteRewriteBuilder { /* private fields */ }
Expand description
A builder for GrpcGatewayRouteRewrite
.
Implementations§
source§impl GrpcGatewayRouteRewriteBuilder
impl GrpcGatewayRouteRewriteBuilder
sourcepub fn hostname(self, input: GatewayRouteHostnameRewrite) -> Self
pub fn hostname(self, input: GatewayRouteHostnameRewrite) -> Self
The host name of the gateway route to rewrite.
sourcepub fn set_hostname(self, input: Option<GatewayRouteHostnameRewrite>) -> Self
pub fn set_hostname(self, input: Option<GatewayRouteHostnameRewrite>) -> Self
The host name of the gateway route to rewrite.
sourcepub fn get_hostname(&self) -> &Option<GatewayRouteHostnameRewrite>
pub fn get_hostname(&self) -> &Option<GatewayRouteHostnameRewrite>
The host name of the gateway route to rewrite.
sourcepub fn build(self) -> GrpcGatewayRouteRewrite
pub fn build(self) -> GrpcGatewayRouteRewrite
Consumes the builder and constructs a GrpcGatewayRouteRewrite
.
Trait Implementations§
source§impl Clone for GrpcGatewayRouteRewriteBuilder
impl Clone for GrpcGatewayRouteRewriteBuilder
source§fn clone(&self) -> GrpcGatewayRouteRewriteBuilder
fn clone(&self) -> GrpcGatewayRouteRewriteBuilder
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 GrpcGatewayRouteRewriteBuilder
impl Default for GrpcGatewayRouteRewriteBuilder
source§fn default() -> GrpcGatewayRouteRewriteBuilder
fn default() -> GrpcGatewayRouteRewriteBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GrpcGatewayRouteRewriteBuilder
impl PartialEq for GrpcGatewayRouteRewriteBuilder
source§fn eq(&self, other: &GrpcGatewayRouteRewriteBuilder) -> bool
fn eq(&self, other: &GrpcGatewayRouteRewriteBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GrpcGatewayRouteRewriteBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GrpcGatewayRouteRewriteBuilder
impl Send for GrpcGatewayRouteRewriteBuilder
impl Sync for GrpcGatewayRouteRewriteBuilder
impl Unpin for GrpcGatewayRouteRewriteBuilder
impl UnwindSafe for GrpcGatewayRouteRewriteBuilder
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.