pub struct EndpointUrl { /* private fields */ }Expand description
An absolute endpoint URL whose path retains its exact wire representation.
Unlike a general-purpose browser URL, this value does not resolve dot segments or collapse repeated slashes. This matters because every byte in an S3 object key is significant and is covered by the request signature.
Implementations§
Source§impl EndpointUrl
impl EndpointUrl
Returns the URL authority, including an explicit port when present.
Sourcepub fn path_and_query(&self) -> &str
pub fn path_and_query(&self) -> &str
Returns the exact encoded path and optional query sent on the wire.
Trait Implementations§
Source§impl Clone for EndpointUrl
impl Clone for EndpointUrl
Source§fn clone(&self) -> EndpointUrl
fn clone(&self) -> EndpointUrl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EndpointUrl
impl Debug for EndpointUrl
impl Eq for EndpointUrl
Source§impl PartialEq for EndpointUrl
impl PartialEq for EndpointUrl
impl StructuralPartialEq for EndpointUrl
Auto Trait Implementations§
impl Freeze for EndpointUrl
impl RefUnwindSafe for EndpointUrl
impl Send for EndpointUrl
impl Sync for EndpointUrl
impl Unpin for EndpointUrl
impl UnsafeUnpin for EndpointUrl
impl UnwindSafe for EndpointUrl
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.