Enum urlshortener::Provider
[−]
[src]
pub enum Provider { Abv8, BamBz, BitLy { token: String, }, Bmeo, BnGy, FifoCc, GooGl { api_key: String, }, HecSu, HmmRs, IsGd, NowLinks, PhxCoIn, PsbeCo, SCoop, Rlu, SirBz, TinyUrl, TinyPh, TnyIm, UrlShortenerIo, VGd, }
Used to specify which provider to use to generate a short URL.
Variants
Abv8
http://abv8.me provider
Notes:
- You may not shorten more than 20 unique URLs within a 3-minute period.
- You may not shorten more than 60 unique URLs within a 15-minute period.
BamBz
https://bam.bz provider
BitLy
https://bit.ly provider
Fields of BitLy
token: String |
Bmeo
http://bmeo.org provider
BnGy
https://bn.gy provider
FifoCc
http://fifo.cc provider
GooGl
https://goo.gl provider of Google
Fields of GooGl
api_key: String |
HecSu
HmmRs
http://hmm.rs provider
IsGd
https://is.gd provider
NowLinks
http://nowlinks.net provider
PhxCoIn
http://phx.co.in provider
Notes:
- After some time the service will display ads
- Instead of redirecting, a preview page will be displayed
- Currently unstable
PsbeCo
http://psbe.co provider
SCoop
http://s.coop provider
Rlu
http://rlu.ru provider
Notes:
- If you send a lot of requests from one IP, it can be blocked. If you plan to add more then 100 URLs in one hour, please let the technical support know. Otherwise your IP can be blocked unexpectedly. Prior added URLs can be deleted.
SirBz
TinyUrl
http://tinyurl.com provider
Notes:
- This service does not provide any API.
- The implementation result depends on the service result web page.
TinyPh
http://tiny.ph provider
TnyIm
http://tny.im provider
UrlShortenerIo
http://url-shortener.io provider
VGd
https://v.gd provider
Methods
impl Provider
[src]
Trait Implementations
impl Clone for Provider
[src]
fn clone(&self) -> Provider
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more