Struct vit_servicing_station_tests::common::clients::rest::path::RestPathBuilder
source · pub struct RestPathBuilder {
address: Url,
root: String,
}
Fields§
§address: Url
§root: String
Implementations§
source§impl RestPathBuilder
impl RestPathBuilder
pub fn new(address: Url) -> Self
pub fn admin(self) -> Self
pub fn proposals(&self) -> String
pub fn proposals_with_group(&self, group: &str) -> String
pub fn funds(&self) -> String
pub fn challenges(&self) -> String
pub fn snapshot_info(&self, tag: &str) -> String
pub fn raw_snapshot(&self, tag: &str) -> String
pub fn snapshot_voter_info(&self, tag: &str, key: &str) -> String
pub fn snapshot_delegator_info(&self, tag: &str, key: &str) -> String
pub fn proposal(&self, id: &str, group: &str) -> String
pub fn fund(&self, id: &str) -> String
pub fn advisor_reviews(&self, id: &str) -> String
pub fn genesis(&self) -> String
pub fn health(&self) -> String
pub fn service_version(&self) -> String
pub fn search(&self) -> String
pub fn search_count(&self) -> String
pub fn path(&self, path: &str) -> String
Trait Implementations§
source§impl Clone for RestPathBuilder
impl Clone for RestPathBuilder
source§fn clone(&self) -> RestPathBuilder
fn clone(&self) -> RestPathBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for RestPathBuilder
impl Send for RestPathBuilder
impl Sync for RestPathBuilder
impl Unpin for RestPathBuilder
impl UnwindSafe for RestPathBuilder
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