Struct deviantart::types::deviation::MediaType
source · pub struct MediaType {
pub content: Option<String>,
pub height: u64,
pub kind: String,
pub width: u64,
pub b: Option<Url>,
pub unknown: HashMap<String, Value>,
}
Expand description
DeviantArt DeviationMedia
media type.
Fields§
§content: Option<String>
The content. A uri used with base_uri.
height: u64
Image Height
kind: String
? The kind of media
width: u64
Image Width
b: Option<Url>
? ?
unknown: HashMap<String, Value>
Unknown K/Vs
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for MediaType
impl<'de> Deserialize<'de> for MediaType
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 MediaType
impl RefUnwindSafe for MediaType
impl Send for MediaType
impl Sync for MediaType
impl Unpin for MediaType
impl UnwindSafe for MediaType
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