Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::RedirectAllRequestsToBuilder
pub struct RedirectAllRequestsToBuilder { /* private fields */ }
Expand description
A builder for RedirectAllRequestsTo
.
Implementations§
§impl RedirectAllRequestsToBuilder
impl RedirectAllRequestsToBuilder
pub fn host_name(self, input: impl Into<String>) -> RedirectAllRequestsToBuilder
pub fn host_name(self, input: impl Into<String>) -> RedirectAllRequestsToBuilder
Name of the host where requests are redirected.
pub fn set_host_name(
self,
input: Option<String>
) -> RedirectAllRequestsToBuilder
pub fn set_host_name( self, input: Option<String> ) -> RedirectAllRequestsToBuilder
Name of the host where requests are redirected.
pub fn get_host_name(&self) -> &Option<String>
pub fn get_host_name(&self) -> &Option<String>
Name of the host where requests are redirected.
pub fn protocol(self, input: Protocol) -> RedirectAllRequestsToBuilder
pub fn protocol(self, input: Protocol) -> RedirectAllRequestsToBuilder
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
pub fn set_protocol(
self,
input: Option<Protocol>
) -> RedirectAllRequestsToBuilder
pub fn set_protocol( self, input: Option<Protocol> ) -> RedirectAllRequestsToBuilder
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
pub fn get_protocol(&self) -> &Option<Protocol>
pub fn get_protocol(&self) -> &Option<Protocol>
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
pub fn build(self) -> RedirectAllRequestsTo
pub fn build(self) -> RedirectAllRequestsTo
Consumes the builder and constructs a RedirectAllRequestsTo
.
Trait Implementations§
§impl Clone for RedirectAllRequestsToBuilder
impl Clone for RedirectAllRequestsToBuilder
§fn clone(&self) -> RedirectAllRequestsToBuilder
fn clone(&self) -> RedirectAllRequestsToBuilder
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 more§impl Debug for RedirectAllRequestsToBuilder
impl Debug for RedirectAllRequestsToBuilder
§impl Default for RedirectAllRequestsToBuilder
impl Default for RedirectAllRequestsToBuilder
§fn default() -> RedirectAllRequestsToBuilder
fn default() -> RedirectAllRequestsToBuilder
Returns the “default value” for a type. Read more
§impl PartialEq<RedirectAllRequestsToBuilder> for RedirectAllRequestsToBuilder
impl PartialEq<RedirectAllRequestsToBuilder> for RedirectAllRequestsToBuilder
§fn eq(&self, other: &RedirectAllRequestsToBuilder) -> bool
fn eq(&self, other: &RedirectAllRequestsToBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RedirectAllRequestsToBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RedirectAllRequestsToBuilder
impl Send for RedirectAllRequestsToBuilder
impl Sync for RedirectAllRequestsToBuilder
impl Unpin for RedirectAllRequestsToBuilder
impl UnwindSafe for RedirectAllRequestsToBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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