pub struct Provider {Show 18 fields
pub id: String,
pub name: String,
pub base_url: String,
pub path: String,
pub method: RequestMethod,
pub unsupported_reason: Option<String>,
pub auth: Auth,
pub key_url: String,
pub billing_url: String,
pub credential_help: String,
pub source: String,
pub experimental: bool,
pub pricing: Option<PricingMap>,
pub costs: Option<CostMap>,
pub headers: BTreeMap<String, String>,
pub balance: Option<BalanceMap>,
pub response_checks: Vec<ResponseCheck>,
pub quotas: Vec<QuotaMap>,
}Fields§
§id: String§name: String§base_url: String§path: String§method: RequestMethod§unsupported_reason: Option<String>§auth: Auth§key_url: String§billing_url: String§credential_help: String§source: String§experimental: bool§pricing: Option<PricingMap>§costs: Option<CostMap>§headers: BTreeMap<String, String>§balance: Option<BalanceMap>§response_checks: Vec<ResponseCheck>§quotas: Vec<QuotaMap>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Provider
impl<'de> Deserialize<'de> for Provider
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Provider
impl Freeze for Provider
impl Move for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl UnwindSafe for Provider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more