pub struct EndpointAttached {
pub name: String,
pub base_url: String,
pub dialect: DialectKind,
pub auth: Option<SecretRef>,
pub auth_header: Option<String>,
pub models: Vec<String>,
pub connection_kind: Option<String>,
pub probed: bool,
pub tuning: Option<AttachedTuning>,
}Expand description
endpoint_attached: a base URL, its dialect, the credential’s vault
place and the model ids the endpoint reported.
The credential is a reference, never the key: that is what keeps this line exportable.
Fields§
§name: String§base_url: String§dialect: DialectKind§auth: Option<SecretRef>Absent for an endpoint that takes no credential.
auth_header: Option<String>The header the credential travels in, when it is not a bearer.
models: Vec<String>§connection_kind: Option<String>gateway::ConnectionKind in its own spelling. Absent on a line
written by a build with one registration per dialect.
probed: boolAbsent means true: every line written before the key existed came from a probe that succeeded.
tuning: Option<AttachedTuning>What the person settled; absent when they settled nothing, and read as nothing settled when it is not an object.
Trait Implementations§
Source§impl Clone for EndpointAttached
impl Clone for EndpointAttached
Source§impl Debug for EndpointAttached
impl Debug for EndpointAttached
Source§impl<'de> Deserialize<'de> for EndpointAttached
impl<'de> Deserialize<'de> for EndpointAttached
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
impl Eq for EndpointAttached
Source§impl PartialEq for EndpointAttached
impl PartialEq for EndpointAttached
Source§impl Serialize for EndpointAttached
impl Serialize for EndpointAttached
impl StructuralPartialEq for EndpointAttached
Auto Trait Implementations§
impl Freeze for EndpointAttached
impl RefUnwindSafe for EndpointAttached
impl Send for EndpointAttached
impl Sync for EndpointAttached
impl Unpin for EndpointAttached
impl UnsafeUnpin for EndpointAttached
impl UnwindSafe for EndpointAttached
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