pub struct Type {
pub data: String,
}
Expand description
The type of the photo.
Fields§
§data: String
The type as a plain text string; at least “image/jpeg”, “image/gif” and “image/png” SHOULD be supported.
Trait Implementations§
Source§impl TryFrom<Element> for Type
impl TryFrom<Element> for Type
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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