pub struct Builder { /* private fields */ }
Implementations§
source§impl Builder
impl Builder
pub fn new() -> Builder
pub fn username(self, username: String) -> Self
pub fn password(self, password: String) -> Self
pub fn domain<T>(self, domain: T) -> Self
pub fn port(self, port: u16) -> Self
pub fn path(self, path: String) -> Self
pub fn query(self, query: String) -> Self
pub fn build(self) -> Result<Url, WebError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl !UnwindSafe for Builder
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