pub struct ModelListRequirement {
pub path: String,
pub models_pointer: String,
pub name_pointer: String,
}Expand description
A served-model list that must name the served model.
Fields§
§path: StringAbsolute HTTP path of the list on the owning process’s endpoint.
models_pointer: StringPointer from the list document to the model array.
name_pointer: StringPointer from one model element to its name.
Trait Implementations§
Source§impl Clone for ModelListRequirement
impl Clone for ModelListRequirement
Source§impl Debug for ModelListRequirement
impl Debug for ModelListRequirement
Source§impl<'de> Deserialize<'de> for ModelListRequirement
impl<'de> Deserialize<'de> for ModelListRequirement
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 ModelListRequirement
Source§impl JsonSchema for ModelListRequirement
impl JsonSchema for ModelListRequirement
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ModelListRequirement
impl PartialEq for ModelListRequirement
Source§impl Serialize for ModelListRequirement
impl Serialize for ModelListRequirement
impl StructuralPartialEq for ModelListRequirement
Auto Trait Implementations§
impl Freeze for ModelListRequirement
impl RefUnwindSafe for ModelListRequirement
impl Send for ModelListRequirement
impl Sync for ModelListRequirement
impl Unpin for ModelListRequirement
impl UnsafeUnpin for ModelListRequirement
impl UnwindSafe for ModelListRequirement
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