pub struct UriTemplate { /* private fields */ }Expand description
A parsed URI template.
Implementations§
Source§impl UriTemplate
impl UriTemplate
Sourcepub fn parse(template: &str) -> Result<Self, UriTemplateError>
pub fn parse(template: &str) -> Result<Self, UriTemplateError>
Parses a template.
§Errors
Returns a UriTemplateError for malformed templates and for RFC 6570
features outside the supported subset (see the module documentation).
Trait Implementations§
Source§impl Clone for UriTemplate
impl Clone for UriTemplate
Source§impl Debug for UriTemplate
impl Debug for UriTemplate
Source§impl Display for UriTemplate
impl Display for UriTemplate
impl Eq for UriTemplate
Source§impl PartialEq for UriTemplate
impl PartialEq for UriTemplate
impl StructuralPartialEq for UriTemplate
Auto Trait Implementations§
impl Freeze for UriTemplate
impl RefUnwindSafe for UriTemplate
impl Send for UriTemplate
impl Sync for UriTemplate
impl Unpin for UriTemplate
impl UnsafeUnpin for UriTemplate
impl UnwindSafe for UriTemplate
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