pub struct EndpointProbed {
pub name: String,
pub base_url: String,
pub reach: Reach,
pub models: Vec<String>,
pub facts: Vec<ModelFacts>,
pub failed: Option<ProbeFailure>,
}Expand description
endpoint_probed: a base URL was asked what it serves, and nothing
was attached.
A probe that could not read a model list still writes this line:
models and facts are then empty rather than absent, and failed
tells the two apart.
Fields§
§name: String§base_url: String§reach: ReachHow far the call got, stage by stage.
models: Vec<String>§facts: Vec<ModelFacts>§failed: Option<ProbeFailure>Why the model list could not be read, when it could not.
Trait Implementations§
Source§impl Clone for EndpointProbed
impl Clone for EndpointProbed
Source§impl Debug for EndpointProbed
impl Debug for EndpointProbed
Source§impl<'de> Deserialize<'de> for EndpointProbed
impl<'de> Deserialize<'de> for EndpointProbed
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 EndpointProbed
Source§impl PartialEq for EndpointProbed
impl PartialEq for EndpointProbed
Source§impl Serialize for EndpointProbed
impl Serialize for EndpointProbed
impl StructuralPartialEq for EndpointProbed
Auto Trait Implementations§
impl Freeze for EndpointProbed
impl RefUnwindSafe for EndpointProbed
impl Send for EndpointProbed
impl Sync for EndpointProbed
impl Unpin for EndpointProbed
impl UnsafeUnpin for EndpointProbed
impl UnwindSafe for EndpointProbed
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