Trait rdftk_iri::Normalize[][src]

pub trait Normalize {
    fn normalize(self) -> Result<Self>
    where
        Self: Sized
, { ... } }

This trait is used on the IRI and it’s components to normalize their value according to the relevant RFC rules.

  1. Normalization will ensure the correct case of certain components.
  2. Normalization will removing any unnecessary “.” and “..” segments from the path component of a hierarchical URI.

Provided methods

fn normalize(self) -> Result<Self> where
    Self: Sized
[src]

Return a normalized version of self. The default for normalization is to do nothing and return self unchanged.

Loading content...

Implementors

impl Normalize for HostKind[src]

impl Normalize for Authority[src]

impl Normalize for Fragment[src]

impl Normalize for Host[src]

impl Normalize for IRI[src]

impl Normalize for Path[src]

impl Normalize for Query[src]

impl Normalize for Scheme[src]

Loading content...