pub struct RelatedArticle {
pub article_id: Uuid,
pub article_number: String,
pub title: String,
pub relationship: ArticleRelationship,
}Expand description
Reference to a related article
Fields§
§article_id: UuidUUID of the related article
article_number: StringArticle number (e.g., “KB-0001”)
title: StringArticle title
relationship: ArticleRelationshipType of relationship
Implementations§
Trait Implementations§
Source§impl Clone for RelatedArticle
impl Clone for RelatedArticle
Source§fn clone(&self) -> RelatedArticle
fn clone(&self) -> RelatedArticle
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 RelatedArticle
impl Debug for RelatedArticle
Source§impl<'de> Deserialize<'de> for RelatedArticle
impl<'de> Deserialize<'de> for RelatedArticle
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 RelatedArticle
impl PartialEq for RelatedArticle
Source§impl Serialize for RelatedArticle
impl Serialize for RelatedArticle
impl StructuralPartialEq for RelatedArticle
Auto Trait Implementations§
impl Freeze for RelatedArticle
impl RefUnwindSafe for RelatedArticle
impl Send for RelatedArticle
impl Sync for RelatedArticle
impl Unpin for RelatedArticle
impl UnwindSafe for RelatedArticle
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