pub struct EntityLink<P: EntityProperties> {
pub id: String,
/* private fields */
}
Expand description
A link to a fetchable entity record.
Fields§
§id: String
Implementations§
Source§impl<P: EntityProperties> EntityLink<P>
impl<P: EntityProperties> EntityLink<P>
Trait Implementations§
Source§impl<P: Debug + EntityProperties> Debug for EntityLink<P>
impl<P: Debug + EntityProperties> Debug for EntityLink<P>
Source§impl<'de, P: EntityProperties> Deserialize<'de> for EntityLink<P>
impl<'de, P: EntityProperties> Deserialize<'de> for EntityLink<P>
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<P> Freeze for EntityLink<P>
impl<P> RefUnwindSafe for EntityLink<P>where
P: RefUnwindSafe,
impl<P> Send for EntityLink<P>where
P: Send,
impl<P> Sync for EntityLink<P>where
P: Sync,
impl<P> Unpin for EntityLink<P>where
P: Unpin,
impl<P> UnwindSafe for EntityLink<P>where
P: UnwindSafe,
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