Struct replicate_rust::api_definitions::GetModel
source · pub struct GetModel {
pub url: String,
pub owner: String,
pub name: String,
pub description: String,
pub visibility: String,
pub github_url: Option<String>,
pub paper_url: Option<String>,
pub license_url: Option<String>,
pub run_count: Option<u32>,
pub cover_image_url: Option<String>,
pub default_example: Option<GetPrediction>,
pub latest_version: Option<GetModelVersion>,
}
Expand description
GET https://api.replicate.com/v1/models/{model_owner}/{model_name}
Fields§
§url: String
§owner: String
§name: String
§description: String
§visibility: String
§github_url: Option<String>
§paper_url: Option<String>
§license_url: Option<String>
§run_count: Option<u32>
§cover_image_url: Option<String>
§default_example: Option<GetPrediction>
§latest_version: Option<GetModelVersion>
Trait Implementations§
source§impl<'de> Deserialize<'de> for GetModel
impl<'de> Deserialize<'de> for GetModel
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 PartialEq<GetModel> for GetModel
impl PartialEq<GetModel> for GetModel
impl StructuralPartialEq for GetModel
Auto Trait Implementations§
impl RefUnwindSafe for GetModel
impl Send for GetModel
impl Sync for GetModel
impl Unpin for GetModel
impl UnwindSafe for GetModel
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