pub struct Resize { /* private fields */ }Expand description
Use the API to create resized versions of the uploaded images.
If the target dimensions are larger than the original dimensions, the image will not be scaled up. Scaling up is prevented in order to protect the quality of the images.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Resize
impl<'de> Deserialize<'de> for Resize
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