Struct rdftk_iri::Query [−][src]
pub struct Query(_);
Expand description
This type holds the query component of the IRI. While it is common in URLs to see queries of
the form key=value&key=value...
this is not part of the specification which explicitly makes
the format of queries opaque:
The query component is a string of information to be interpreted by the resource.
Example
use rdftk_iri::Query; use std::str::FromStr; let query = Query::from_str("page1").unwrap(); println!("'{}'", query); // prints '?page1' let query = Query::from_str("page=1&size=20").unwrap(); println!("'{}'", query); // prints '?page=1&size=20'
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Query
impl UnwindSafe for Query
Blanket Implementations
Mutably borrows from an owned value. Read more