pub struct LinkWithType {
pub href: Option<String>,
pub _type: Option<String>,
}Expand description
Hypermedia Link with Type
Fields§
§href: Option<String>§_type: Option<String>Trait Implementations§
Source§impl Clone for LinkWithType
impl Clone for LinkWithType
Source§fn clone(&self) -> LinkWithType
fn clone(&self) -> LinkWithType
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 LinkWithType
impl Debug for LinkWithType
Source§impl Default for LinkWithType
impl Default for LinkWithType
Source§fn default() -> LinkWithType
fn default() -> LinkWithType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinkWithType
impl<'de> Deserialize<'de> for LinkWithType
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 LinkWithType
impl PartialEq for LinkWithType
Source§impl Serialize for LinkWithType
impl Serialize for LinkWithType
impl StructuralPartialEq for LinkWithType
Auto Trait Implementations§
impl Freeze for LinkWithType
impl RefUnwindSafe for LinkWithType
impl Send for LinkWithType
impl Sync for LinkWithType
impl Unpin for LinkWithType
impl UnwindSafe for LinkWithType
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