pub struct ImageGeneration {
pub quality: Option<String>,
pub size: Option<String>,
pub output_format: Option<String>,
}
Fields§
§quality: Option<String>
§size: Option<String>
§output_format: Option<String>
Trait Implementations§
Source§impl Clone for ImageGeneration
impl Clone for ImageGeneration
Source§fn clone(&self) -> ImageGeneration
fn clone(&self) -> ImageGeneration
Returns a copy 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 ImageGeneration
impl Debug for ImageGeneration
Source§impl<'de> Deserialize<'de> for ImageGeneration
impl<'de> Deserialize<'de> for ImageGeneration
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
Auto Trait Implementations§
impl Freeze for ImageGeneration
impl RefUnwindSafe for ImageGeneration
impl Send for ImageGeneration
impl Sync for ImageGeneration
impl Unpin for ImageGeneration
impl UnwindSafe for ImageGeneration
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