pub struct TargetMediaType {
pub include_image: bool,
pub include_video: bool,
}Fields§
§include_image: bool§include_video: boolTrait Implementations§
Source§impl Clone for TargetMediaType
impl Clone for TargetMediaType
Source§impl Debug for TargetMediaType
impl Debug for TargetMediaType
Source§impl Default for TargetMediaType
impl Default for TargetMediaType
Source§impl<'de> Deserialize<'de> for TargetMediaType
impl<'de> Deserialize<'de> for TargetMediaType
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 TargetMediaType
impl RefUnwindSafe for TargetMediaType
impl Send for TargetMediaType
impl Sync for TargetMediaType
impl Unpin for TargetMediaType
impl UnsafeUnpin for TargetMediaType
impl UnwindSafe for TargetMediaType
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