Enum ddg::RelatedTopic
[−]
[src]
pub enum RelatedTopic { TopicResult(TopicResult), Topic(Topic), }
Internal link(s) to related topics associated with abstract. A result could
either be a single TopicResult
, or a Topic
containing multiple
TopicResult
s in a certain area of interest.
Variants
TopicResult(TopicResult)
The link had a single topic.
Topic(Topic)
The link had a whole topic category.
Trait Implementations
impl Debug for RelatedTopic
[src]
impl Clone for RelatedTopic
[src]
fn clone(&self) -> RelatedTopic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for RelatedTopic
[src]
fn eq(&self, __arg_0: &RelatedTopic) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RelatedTopic) -> bool
This method tests for !=
.
impl Eq for RelatedTopic
[src]
impl<'de> Deserialize<'de> for RelatedTopic
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more