pub struct ImageRequestOptions {
pub size: Option<ImageSize>,
pub kind: Option<ImageType>,
pub defaulting: bool,
}Expand description
Query of an image request (GET .../image): the poster of a movie, the portrait
of a person, the still of an episode… With defaulting, the server gives another
image of the item when it lacks this one.
Fields§
§size: Option<ImageSize>§kind: Option<ImageType>§defaulting: boolTrait Implementations§
Source§impl Clone for ImageRequestOptions
impl Clone for ImageRequestOptions
Source§impl Debug for ImageRequestOptions
impl Debug for ImageRequestOptions
Source§impl Default for ImageRequestOptions
impl Default for ImageRequestOptions
Source§impl<'de> Deserialize<'de> for ImageRequestOptions
impl<'de> Deserialize<'de> for ImageRequestOptions
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 ImageRequestOptions
impl PartialEq for ImageRequestOptions
Source§impl Serialize for ImageRequestOptions
impl Serialize for ImageRequestOptions
impl StructuralPartialEq for ImageRequestOptions
Auto Trait Implementations§
impl Forget for ImageRequestOptions
impl Freeze for ImageRequestOptions
impl Move for ImageRequestOptions
impl RefUnwindSafe for ImageRequestOptions
impl Send for ImageRequestOptionswhere
RawVecInner: Send,
impl Sync for ImageRequestOptionswhere
RawVecInner: Sync,
impl Unpin for ImageRequestOptions
impl UnsafeUnpin for ImageRequestOptions
impl UnwindSafe for ImageRequestOptionswhere
RawVecInner: UnwindSafe,
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