pub struct GetCollectionModels {
pub name: String,
pub slug: String,
pub description: String,
pub models: Vec<GetModel>,
}
Expand description
GET https://api.replicate.com/v1/collections/{collection_slug}
Fields§
§name: String
§slug: String
§description: String
§models: Vec<GetModel>
Trait Implementations§
Source§impl Clone for GetCollectionModels
impl Clone for GetCollectionModels
Source§fn clone(&self) -> GetCollectionModels
fn clone(&self) -> GetCollectionModels
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 GetCollectionModels
impl Debug for GetCollectionModels
Source§impl<'de> Deserialize<'de> for GetCollectionModels
impl<'de> Deserialize<'de> for GetCollectionModels
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 GetCollectionModels
impl Display for GetCollectionModels
Source§impl PartialEq for GetCollectionModels
impl PartialEq for GetCollectionModels
Source§impl Serialize for GetCollectionModels
impl Serialize for GetCollectionModels
impl StructuralPartialEq for GetCollectionModels
Auto Trait Implementations§
impl Freeze for GetCollectionModels
impl RefUnwindSafe for GetCollectionModels
impl Send for GetCollectionModels
impl Sync for GetCollectionModels
impl Unpin for GetCollectionModels
impl UnwindSafe for GetCollectionModels
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