pub struct UriComponents {
pub scheme: String,
pub path: String,
pub params: HashMap<String, String>,
}Expand description
Parsed components of a Camel URI.
Format: scheme:path?key1=value1&key2=value2
Fields§
§scheme: StringThe scheme (component name), e.g. “timer”, “log”.
path: StringThe path portion after the scheme, e.g. “tick” in “timer:tick”.
params: HashMap<String, String>Query parameters as key-value pairs.
Trait Implementations§
Source§impl Clone for UriComponents
impl Clone for UriComponents
Source§fn clone(&self) -> UriComponents
fn clone(&self) -> UriComponents
Returns a duplicate 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 moreSource§impl Debug for UriComponents
impl Debug for UriComponents
Source§impl PartialEq for UriComponents
impl PartialEq for UriComponents
impl StructuralPartialEq for UriComponents
Auto Trait Implementations§
impl Freeze for UriComponents
impl RefUnwindSafe for UriComponents
impl Send for UriComponents
impl Sync for UriComponents
impl Unpin for UriComponents
impl UnsafeUnpin for UriComponents
impl UnwindSafe for UriComponents
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