pub struct RedirectAllRequestsTo {
pub host_name: String,
pub protocol: Option<String>,
}Expand description
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
Fields§
§host_name: StringName of the host where requests are redirected.
protocol: Option<String>Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
Trait Implementations§
Source§impl Clone for RedirectAllRequestsTo
impl Clone for RedirectAllRequestsTo
Source§fn clone(&self) -> RedirectAllRequestsTo
fn clone(&self) -> RedirectAllRequestsTo
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 RedirectAllRequestsTo
impl Debug for RedirectAllRequestsTo
Source§impl Default for RedirectAllRequestsTo
impl Default for RedirectAllRequestsTo
Source§fn default() -> RedirectAllRequestsTo
fn default() -> RedirectAllRequestsTo
Returns the “default value” for a type. Read more
Source§impl PartialEq for RedirectAllRequestsTo
impl PartialEq for RedirectAllRequestsTo
impl StructuralPartialEq for RedirectAllRequestsTo
Auto Trait Implementations§
impl Freeze for RedirectAllRequestsTo
impl RefUnwindSafe for RedirectAllRequestsTo
impl Send for RedirectAllRequestsTo
impl Sync for RedirectAllRequestsTo
impl Unpin for RedirectAllRequestsTo
impl UnwindSafe for RedirectAllRequestsTo
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