pub struct UpdateModelRequest {
pub api_id: String,
pub content_type: Option<String>,
pub description: Option<String>,
pub model_id: String,
pub name: Option<String>,
pub schema: Option<String>,
}
Expand description
Updates a Model.
Fields§
§api_id: String
The API identifier.
content_type: Option<String>
The content-type for the model, for example, "application/json".
description: Option<String>
The description of the model.
model_id: String
The model ID.
name: Option<String>
The name of the model.
schema: Option<String>
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
Trait Implementations§
Source§impl Clone for UpdateModelRequest
impl Clone for UpdateModelRequest
Source§fn clone(&self) -> UpdateModelRequest
fn clone(&self) -> UpdateModelRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 UpdateModelRequest
impl Debug for UpdateModelRequest
Source§impl Default for UpdateModelRequest
impl Default for UpdateModelRequest
Source§fn default() -> UpdateModelRequest
fn default() -> UpdateModelRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateModelRequest
impl PartialEq for UpdateModelRequest
Source§impl Serialize for UpdateModelRequest
impl Serialize for UpdateModelRequest
impl StructuralPartialEq for UpdateModelRequest
Auto Trait Implementations§
impl Freeze for UpdateModelRequest
impl RefUnwindSafe for UpdateModelRequest
impl Send for UpdateModelRequest
impl Sync for UpdateModelRequest
impl Unpin for UpdateModelRequest
impl UnwindSafe for UpdateModelRequest
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