pub struct HttpsEndpoint { /* private fields */ }Expand description
Validated HTTPS API endpoint, optionally including a fixed base path.
Implementations§
Source§impl HttpsEndpoint
impl HttpsEndpoint
Sourcepub fn new(value: &str) -> Result<Self, EndpointError>
pub fn new(value: &str) -> Result<Self, EndpointError>
Validates an HTTPS endpoint without credentials, query, or fragment.
Trait Implementations§
Source§impl Clone for HttpsEndpoint
impl Clone for HttpsEndpoint
Source§fn clone(&self) -> HttpsEndpoint
fn clone(&self) -> HttpsEndpoint
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 moreAuto Trait Implementations§
impl Freeze for HttpsEndpoint
impl RefUnwindSafe for HttpsEndpoint
impl Send for HttpsEndpoint
impl Sync for HttpsEndpoint
impl Unpin for HttpsEndpoint
impl UnsafeUnpin for HttpsEndpoint
impl UnwindSafe for HttpsEndpoint
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