pub enum ExternalLinkRole {
Tracks,
Relates,
}Expand description
How linked work relates to an external object.
Variants§
Tracks
This work is the single local owner tracking the external object.
Relates
The external object is related context for this work.
Trait Implementations§
Source§impl Clone for ExternalLinkRole
impl Clone for ExternalLinkRole
impl Copy for ExternalLinkRole
Source§impl Debug for ExternalLinkRole
impl Debug for ExternalLinkRole
Source§impl<'de> Deserialize<'de> for ExternalLinkRole
impl<'de> Deserialize<'de> for ExternalLinkRole
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
impl Eq for ExternalLinkRole
Source§impl Hash for ExternalLinkRole
impl Hash for ExternalLinkRole
Source§impl Ord for ExternalLinkRole
impl Ord for ExternalLinkRole
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExternalLinkRole
impl PartialEq for ExternalLinkRole
Source§impl PartialOrd for ExternalLinkRole
impl PartialOrd for ExternalLinkRole
Source§impl Serialize for ExternalLinkRole
impl Serialize for ExternalLinkRole
impl StructuralPartialEq for ExternalLinkRole
Auto Trait Implementations§
impl Freeze for ExternalLinkRole
impl RefUnwindSafe for ExternalLinkRole
impl Send for ExternalLinkRole
impl Sync for ExternalLinkRole
impl Unpin for ExternalLinkRole
impl UnsafeUnpin for ExternalLinkRole
impl UnwindSafe for ExternalLinkRole
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