[−][src]Struct siren_types::EntityLink
Fields
class: Vec<String>
Describes the nature of an entity's content based on the current representation. Possible values are implementation-dependent and should be documented. MUST be an array of strings. Optional.
title: Option<String>
Descriptive text about the entity. Optional.
rel: Vec<String>
Defines the relationship of the sub-entity to its parent, per Web Linking (RFC5988) and Link Relations. MUST be a non-empty array of strings. Required.
href: String
The URI of the linked sub-entity. Required.
_type: Option<String>
Defines media type of the linked sub-entity, per Web Linking (RFC5988). Optional.
Trait Implementations
impl Debug for EntityLink
[src]
impl<'de> Deserialize<'de> for EntityLink
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for EntityLink
[src]
Auto Trait Implementations
impl RefUnwindSafe for EntityLink
impl Send for EntityLink
impl Sync for EntityLink
impl Unpin for EntityLink
impl UnwindSafe for EntityLink
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,