Struct rdftk_iri::Scheme [−][src]
pub struct Scheme(_);
Expand description
Provides the Scheme
component of an IRI
as well as a set of known schemes.
The scheme for an IRI (URI, or URL) determines the syntax and meaning of the following components. It is a single string value.
Example
Any valid scheme string can be parsed into a Scheme
instance.
use rdftk_iri::Scheme; use std::str::FromStr; let http_scheme = Scheme::from_str("http");
A number of well-known schemes are also provided as associated functions on the Scheme
implementation for convenience.
use rdftk_iri::Scheme; let http_scheme = Scheme::http();
Implementations
Known Scheme for binary data access in browsers (http://www.w3.org/TR/FileAPI/#url)
Known Scheme for referencing individual parts of an SMTP/MIME message, RFC 2111,2392
Known Scheme for HTTP Extensions for Distributed Authoring (WebDAV), RFC 2518,4918
Known Scheme for addressing files on local or network file systems, RFC 1738,3986
Known Scheme for Information Assets with Identifiers in Public Namespaces, RFC 4452
Known Scheme for referencing SMTP/MIME messages, or parts of messages, RFC 2111,2392
Known Scheme for WebDAV lock token, RFC 2518,4918
Known Scheme for Used in Common Profile for Presence (CPP) to identify presence, RFC 3859
Known Scheme for Used with Session Initiation Protocol (SIP), RFC 2543,3969,3261
Known Scheme for SOAP binding to BEEP, RFC 3288,4227
Known Scheme for multipart/related relative reference resolution, RFC 2557
Known Scheme for Centralized Conferencing (XCON) over SIP, RFC 6501
Known Scheme for XML-RPC in BEEP, RFC 3529
Known Scheme for XML-RPC in BEEP, RFC 3529
Known Scheme for Extensible Messaging and Presence Protocol (XMPP), RFC 4622,5122
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 Scheme
impl UnwindSafe for Scheme
Blanket Implementations
Mutably borrows from an owned value. Read more