pub(super) struct LinkDestination {
media_type: Option<String>,
href: Option<String>,
}Expand description
Represent the link destination where href, media type, or both are present.
Fields§
§media_type: Option<String>The value of the media_type member is a string that indicates
the media type of the target resource (see RFC 6838).
href: Option<String>The value of the href member is a string that contains a URI
pointing to the target resource.
Implementations§
Trait Implementations§
Source§impl Debug for LinkDestination
impl Debug for LinkDestination
Source§impl PartialEq for LinkDestination
impl PartialEq for LinkDestination
impl Eq for LinkDestination
impl StructuralPartialEq for LinkDestination
Auto Trait Implementations§
impl Freeze for LinkDestination
impl RefUnwindSafe for LinkDestination
impl Send for LinkDestination
impl Sync for LinkDestination
impl Unpin for LinkDestination
impl UnwindSafe for LinkDestination
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.