pub struct GetImagesFileIdHashQuery {
pub w: Option<String>,
pub h: Option<String>,
pub q: Option<i64>,
pub crop: Option<String>,
pub fit: Option<String>,
pub fm: Option<String>,
pub p: Option<String>,
}Expand description
Query parameters for GET /images/{fileId}/{hash}.
Fields§
§w: Option<String>Output width in pixels, or auto to let Glide derive it.
h: Option<String>Output height in pixels, or auto to let Glide derive it.
q: Option<i64>Output quality.
crop: Option<String>Glide crop specification. original bypasses the stored crop.
fit: Option<String>Glide fit mode. Raster images use their stored focus point by default.
fm: Option<String>Output format. A recognized hash suffix takes precedence.
Allowed values: avif, gif, heic, jpg, pjpg, png, tiff, webp.
p: Option<String>Comma-separated preset names: group-homepage, group-detail, group-list, group-tile, group-minitile, person-detail and avatar. Explicit parameters take precedence over preset values.
Trait Implementations§
Source§impl Clone for GetImagesFileIdHashQuery
impl Clone for GetImagesFileIdHashQuery
Source§impl Debug for GetImagesFileIdHashQuery
impl Debug for GetImagesFileIdHashQuery
Auto Trait Implementations§
impl Freeze for GetImagesFileIdHashQuery
impl RefUnwindSafe for GetImagesFileIdHashQuery
impl Send for GetImagesFileIdHashQuery
impl Sync for GetImagesFileIdHashQuery
impl Unpin for GetImagesFileIdHashQuery
impl UnsafeUnpin for GetImagesFileIdHashQuery
impl UnwindSafe for GetImagesFileIdHashQuery
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