pub struct ShowModelResponse {
pub modelfile: String,
pub parameters: String,
pub template: String,
pub details: ModelDetails,
pub model_info: Option<HashMap<String, Value>>,
pub capabilities: Option<Vec<String>>,
}Expand description
Response for showing model information.
Fields§
§modelfile: String§parameters: String§template: String§details: ModelDetails§model_info: Option<HashMap<String, Value>>§capabilities: Option<Vec<String>>Trait Implementations§
Source§impl Clone for ShowModelResponse
impl Clone for ShowModelResponse
Source§fn clone(&self) -> ShowModelResponse
fn clone(&self) -> ShowModelResponse
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 ShowModelResponse
impl Debug for ShowModelResponse
Source§impl<'de> Deserialize<'de> for ShowModelResponse
impl<'de> Deserialize<'de> for ShowModelResponse
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 ShowModelResponse
impl RefUnwindSafe for ShowModelResponse
impl Send for ShowModelResponse
impl Sync for ShowModelResponse
impl Unpin for ShowModelResponse
impl UnsafeUnpin for ShowModelResponse
impl UnwindSafe for ShowModelResponse
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