pub struct ModelEndpoint {
pub provider: String,
pub model: String,
pub down: bool,
pub source: String,
}Expand description
Admin-only fallback-chain entry (present only with a valid x-admin-token).
Fields§
§provider: String§model: String§down: bool§source: String"route" | "prefix".
Trait Implementations§
Source§impl Clone for ModelEndpoint
impl Clone for ModelEndpoint
Source§fn clone(&self) -> ModelEndpoint
fn clone(&self) -> ModelEndpoint
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 ModelEndpoint
impl Debug for ModelEndpoint
Source§impl<'de> Deserialize<'de> for ModelEndpoint
impl<'de> Deserialize<'de> for ModelEndpoint
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 ModelEndpoint
impl PartialEq for ModelEndpoint
Source§impl Serialize for ModelEndpoint
impl Serialize for ModelEndpoint
impl StructuralPartialEq for ModelEndpoint
Auto Trait Implementations§
impl Freeze for ModelEndpoint
impl RefUnwindSafe for ModelEndpoint
impl Send for ModelEndpoint
impl Sync for ModelEndpoint
impl Unpin for ModelEndpoint
impl UnsafeUnpin for ModelEndpoint
impl UnwindSafe for ModelEndpoint
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