Struct comfyui_api::api::upload::ImageUpload
source · pub struct ImageUpload {
pub name: String,
pub subfolder: String,
pub folder_type: String,
}
Expand description
Struct representing an image.
Fields§
§name: String
The filename of the image.
subfolder: String
The subfolder.
folder_type: String
The folder type.
Trait Implementations§
source§impl Clone for ImageUpload
impl Clone for ImageUpload
source§fn clone(&self) -> ImageUpload
fn clone(&self) -> ImageUpload
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 ImageUpload
impl Debug for ImageUpload
source§impl<'de> Deserialize<'de> for ImageUpload
impl<'de> Deserialize<'de> for ImageUpload
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 ImageUpload
impl RefUnwindSafe for ImageUpload
impl Send for ImageUpload
impl Sync for ImageUpload
impl Unpin for ImageUpload
impl UnwindSafe for ImageUpload
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