Struct gip::ProviderInfo [] [src]

pub struct ProviderInfo {
    pub name: String,
    pub ptype: ProviderType,
    pub timeout: usize,
    pub url: String,
    pub key: Vec<String>,
}

Fields

Provider name

Provider format

Timeout

URL for GET

Key for JSON format

Methods

impl ProviderInfo
[src]

Load provider info from TOML string

Create Provider from this info