pub struct DocumentRepresentation {
pub media_type: String,
pub url: String,
}Fields§
§media_type: String§url: StringTrait Implementations§
Source§impl Clone for DocumentRepresentation
impl Clone for DocumentRepresentation
Source§impl Debug for DocumentRepresentation
impl Debug for DocumentRepresentation
Source§impl<'de> Deserialize<'de> for DocumentRepresentation
impl<'de> Deserialize<'de> for DocumentRepresentation
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 DocumentRepresentation
impl PartialEq for DocumentRepresentation
Source§impl Serialize for DocumentRepresentation
impl Serialize for DocumentRepresentation
impl StructuralPartialEq for DocumentRepresentation
Auto Trait Implementations§
impl Forget for DocumentRepresentation
impl Freeze for DocumentRepresentation
impl RefUnwindSafe for DocumentRepresentation
impl Send for DocumentRepresentation
impl Sync for DocumentRepresentation
impl Unpin for DocumentRepresentation
impl UnsafeUnpin for DocumentRepresentation
impl UnwindSafe for DocumentRepresentation
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