pub struct ImageModel {
pub id: String,
pub fingerprint: String,
pub max_prompt_length: i64,
pub created: i64,
pub object: String,
pub owned_by: String,
pub version: String,
pub image_price: i64,
pub input_modalities: Vec<String>,
pub output_modalities: Vec<String>,
pub aliases: Vec<String>,
}Fields§
§id: String§fingerprint: String§max_prompt_length: i64§created: i64§object: String§owned_by: String§version: String§image_price: i64§input_modalities: Vec<String>§output_modalities: Vec<String>§aliases: Vec<String>Trait Implementations§
Source§impl Clone for ImageModel
impl Clone for ImageModel
Source§fn clone(&self) -> ImageModel
fn clone(&self) -> ImageModel
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 ImageModel
impl Debug for ImageModel
Source§impl<'de> Deserialize<'de> for ImageModel
impl<'de> Deserialize<'de> for ImageModel
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 for ImageModel
impl PartialEq for ImageModel
Source§impl Serialize for ImageModel
impl Serialize for ImageModel
impl StructuralPartialEq for ImageModel
Auto Trait Implementations§
impl Freeze for ImageModel
impl RefUnwindSafe for ImageModel
impl Send for ImageModel
impl Sync for ImageModel
impl Unpin for ImageModel
impl UnwindSafe for ImageModel
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