pub struct UrlBuilder { /* private fields */ }Implementations§
Source§impl UrlBuilder
impl UrlBuilder
pub fn new(base_url: impl Into<String>) -> Self
pub fn base_url(&self) -> &str
pub fn home(&self) -> String
pub fn runner(&self) -> String
pub fn orders_trade(&self) -> String
pub fn order_page(&self, order_id: &str) -> String
pub fn chat_page(&self, chat_id: &str) -> String
pub fn offer_edit(&self, node_id: i64, offer_id: i64) -> String
pub fn offer_save(&self) -> String
pub fn lots_trade(&self, node_id: i64) -> String
pub fn lots_page(&self, node_id: i64) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UrlBuilder
impl RefUnwindSafe for UrlBuilder
impl Send for UrlBuilder
impl Sync for UrlBuilder
impl Unpin for UrlBuilder
impl UnwindSafe for UrlBuilder
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