pub struct Comment<Language, Description, Content> {
pub language: Language,
pub description: Description,
pub content: Content,
}Expand description
Representation of the comment.
Fields
language: LanguageLanguage code (ISO 639-2) of the comment.
description: DescriptionDescription of the comment.
content: ContentContent of the comment.
Implementations
Trait Implementations
sourceimpl<Language: Clone, Description: Clone, Content: Clone> Clone for Comment<Language, Description, Content>
impl<Language: Clone, Description: Clone, Content: Clone> Clone for Comment<Language, Description, Content>
sourceimpl<Language: Debug, Description: Debug, Content: Debug> Debug for Comment<Language, Description, Content>
impl<Language: Debug, Description: Debug, Content: Debug> Debug for Comment<Language, Description, Content>
sourceimpl<'de, Language, Description, Content> Deserialize<'de> for Comment<Language, Description, Content> where
Language: Deserialize<'de>,
Description: Deserialize<'de>,
Content: Deserialize<'de>,
impl<'de, Language, Description, Content> Deserialize<'de> for Comment<Language, Description, Content> where
Language: Deserialize<'de>,
Description: Deserialize<'de>,
Content: Deserialize<'de>,
sourcefn 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
sourceimpl<Language, Description, Content> From<Comment<Language, Description, Content>> for Comment where
Language: Into<String>,
Description: Into<String>,
Content: Into<String>,
impl<Language, Description, Content> From<Comment<Language, Description, Content>> for Comment where
Language: Into<String>,
Description: Into<String>,
Content: Into<String>,
sourceimpl<Language, Description, Content> From<Comment<Language, Description, Content>> for Frame where
Language: Into<String>,
Description: Into<String>,
Content: Into<String>,
impl<Language, Description, Content> From<Comment<Language, Description, Content>> for Frame where
Language: Into<String>,
Description: Into<String>,
Content: Into<String>,
sourceimpl<Language: PartialEq, Description: PartialEq, Content: PartialEq> PartialEq<Comment<Language, Description, Content>> for Comment<Language, Description, Content>
impl<Language: PartialEq, Description: PartialEq, Content: PartialEq> PartialEq<Comment<Language, Description, Content>> for Comment<Language, Description, Content>
sourceimpl<Language, Description, Content> Serialize for Comment<Language, Description, Content> where
Language: Serialize,
Description: Serialize,
Content: Serialize,
impl<Language, Description, Content> Serialize for Comment<Language, Description, Content> where
Language: Serialize,
Description: Serialize,
Content: Serialize,
impl<Language: Copy, Description: Copy, Content: Copy> Copy for Comment<Language, Description, Content>
impl<Language: Eq, Description: Eq, Content: Eq> Eq for Comment<Language, Description, Content>
impl<Language, Description, Content> StructuralEq for Comment<Language, Description, Content>
impl<Language, Description, Content> StructuralPartialEq for Comment<Language, Description, Content>
Auto Trait Implementations
impl<Language, Description, Content> RefUnwindSafe for Comment<Language, Description, Content> where
Content: RefUnwindSafe,
Description: RefUnwindSafe,
Language: RefUnwindSafe,
impl<Language, Description, Content> Send for Comment<Language, Description, Content> where
Content: Send,
Description: Send,
Language: Send,
impl<Language, Description, Content> Sync for Comment<Language, Description, Content> where
Content: Sync,
Description: Sync,
Language: Sync,
impl<Language, Description, Content> Unpin for Comment<Language, Description, Content> where
Content: Unpin,
Description: Unpin,
Language: Unpin,
impl<Language, Description, Content> UnwindSafe for Comment<Language, Description, Content> where
Content: UnwindSafe,
Description: UnwindSafe,
Language: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
sourceimpl<X> Pipe for X
impl<X> Pipe for X
sourcefn pipe<Return, Function>(self, f: Function) -> Return where
Function: FnOnce(Self) -> Return,
fn pipe<Return, Function>(self, f: Function) -> Return where
Function: FnOnce(Self) -> Return,
Apply f to self. Read more
sourcefn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Return where
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Return where
Function: FnOnce(&'a Self) -> Return,
Apply f to &self. Read more
sourcefn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Return where
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Return where
Function: FnOnce(&'a mut Self) -> Return,
Apply f to &mut self. Read more
sourcefn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read more
sourcefn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return where
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return where
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read more
sourcefn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Target = Param>. Read more
sourcefn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait [DerefMut<Target = Param>]. Read more
sourcefn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply f to &self where f takes a single parameter of type Param
and Self implements trait Borrow<Param>. Read more
sourcefn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: BorrowMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: BorrowMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait BorrowMut<Param>. Read more