pub struct DocumentUrl {
pub url: String,
pub media_type: Option<String>,
}Fields§
§url: String§media_type: Option<String>Trait Implementations§
Source§impl Clone for DocumentUrl
impl Clone for DocumentUrl
Source§fn clone(&self) -> DocumentUrl
fn clone(&self) -> DocumentUrl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentUrl
impl Debug for DocumentUrl
Source§impl<'de> Deserialize<'de> for DocumentUrl
impl<'de> Deserialize<'de> for DocumentUrl
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 DocumentUrl
impl RefUnwindSafe for DocumentUrl
impl Send for DocumentUrl
impl Sync for DocumentUrl
impl Unpin for DocumentUrl
impl UnwindSafe for DocumentUrl
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