pub struct ProviderResponse {
pub id: String,
pub endpoint_id: String,
pub model_permaslug: String,
pub provider_name: String,
pub status: Option<f64>,
pub latency: f64,
pub is_byok: bool,
}Fields§
§id: String§endpoint_id: String§model_permaslug: String§provider_name: String§status: Option<f64>§latency: f64§is_byok: boolTrait Implementations§
Source§impl Clone for ProviderResponse
impl Clone for ProviderResponse
Source§fn clone(&self) -> ProviderResponse
fn clone(&self) -> ProviderResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 ProviderResponse
impl Debug for ProviderResponse
Source§impl<'de> Deserialize<'de> for ProviderResponse
impl<'de> Deserialize<'de> for ProviderResponse
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 Freeze for ProviderResponse
impl RefUnwindSafe for ProviderResponse
impl Send for ProviderResponse
impl Sync for ProviderResponse
impl Unpin for ProviderResponse
impl UnwindSafe for ProviderResponse
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