pub struct ImportModelResponse
pub model_name: String,
pub entity_id: i32,
pub info: HashMap<String, String>,
The response from the /import/model endpoint.
Import a model
Fields
model_name: StringName of the model to be imported.
entity_id: i32Entity ID of the model imported. It is an identifier in KML API to locate an ML object.
info: HashMap<String, String>Additional information.
Trait Implementations
Source
impl Clone for ImportModelResponse
Source
fn clone(&self) -> ImportModelResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource
impl Debug for ImportModelResponse
Source
impl Default for ImportModelResponse
Source
fn default() -> ImportModelResponse
Returns the “default value” for a type. Read more
Source
impl<‘de> Deserialize<‘de> for ImportModelResponse
Sourcefn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
Deserialize this value from the given Serde deserializer. Read more
Source