pub struct GetModelVersion {
pub id: String,
pub created_at: String,
pub cog_version: String,
pub openapi_schema: HashMap<String, Value>,
}
Expand description
GET https://api.replicate.com/v1/models/{model_owner}/{model_name}/versions/{version_id}
Fields§
§id: String
§created_at: String
§cog_version: String
§openapi_schema: HashMap<String, Value>
Trait Implementations§
Source§impl Clone for GetModelVersion
impl Clone for GetModelVersion
Source§fn clone(&self) -> GetModelVersion
fn clone(&self) -> GetModelVersion
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 GetModelVersion
impl Debug for GetModelVersion
Source§impl<'de> Deserialize<'de> for GetModelVersion
impl<'de> Deserialize<'de> for GetModelVersion
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
Source§impl Display for GetModelVersion
impl Display for GetModelVersion
Source§impl PartialEq for GetModelVersion
impl PartialEq for GetModelVersion
Source§impl Serialize for GetModelVersion
impl Serialize for GetModelVersion
impl StructuralPartialEq for GetModelVersion
Auto Trait Implementations§
impl Freeze for GetModelVersion
impl RefUnwindSafe for GetModelVersion
impl Send for GetModelVersion
impl Sync for GetModelVersion
impl Unpin for GetModelVersion
impl UnwindSafe for GetModelVersion
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