pub struct ProviderInfo {
pub name: String,
pub slug: String,
pub privacy_policy_url: Option<String>,
pub terms_of_service_url: Option<String>,
pub status_page_url: Option<String>,
}Expand description
Information about a provider available on OpenRouter.
Fields§
§name: StringProvider name.
slug: StringProvider slug used in routing parameters.
privacy_policy_url: Option<String>Privacy-policy URL.
terms_of_service_url: Option<String>Terms-of-service URL.
status_page_url: Option<String>Public status-page URL.
Trait Implementations§
Source§impl Clone for ProviderInfo
impl Clone for ProviderInfo
Source§fn clone(&self) -> ProviderInfo
fn clone(&self) -> ProviderInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProviderInfo
impl Debug for ProviderInfo
Source§impl Default for ProviderInfo
impl Default for ProviderInfo
Source§fn default() -> ProviderInfo
fn default() -> ProviderInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderInfo
impl<'de> Deserialize<'de> for ProviderInfo
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
Source§impl PartialEq for ProviderInfo
impl PartialEq for ProviderInfo
Source§impl Serialize for ProviderInfo
impl Serialize for ProviderInfo
impl StructuralPartialEq for ProviderInfo
Auto Trait Implementations§
impl Freeze for ProviderInfo
impl RefUnwindSafe for ProviderInfo
impl Send for ProviderInfo
impl Sync for ProviderInfo
impl Unpin for ProviderInfo
impl UnsafeUnpin for ProviderInfo
impl UnwindSafe for ProviderInfo
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