Function urlshortener::providers [] [src]

pub fn providers() -> Vec<Provider>

Returns a vector of all Provider variants which do not require authentication. This list is in order of provider quality.

The providers which are discouraged from use - due to problems such as rate limitations - are at the end of the resultant vector.

Note that some providers may not provide a generated short URL because the submitted URL may already be short enough and would not benefit from shortening via their service.