Struct gluon_base::metadata::Comment
source · pub struct Comment<S = String> {
pub typ: CommentType,
pub content: S,
}
Fields§
§typ: CommentType
§content: S
Trait Implementations§
source§impl<'de, S> Deserialize<'de> for Comment<S>where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for Comment<S>where
S: Deserialize<'de>,
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<S: PartialEq> PartialEq for Comment<S>
impl<S: PartialEq> PartialEq for Comment<S>
impl<S: Eq> Eq for Comment<S>
impl<S> StructuralEq for Comment<S>
impl<S> StructuralPartialEq for Comment<S>
Auto Trait Implementations§
impl<S> RefUnwindSafe for Comment<S>where
S: RefUnwindSafe,
impl<S> Send for Comment<S>where
S: Send,
impl<S> Sync for Comment<S>where
S: Sync,
impl<S> Unpin for Comment<S>where
S: Unpin,
impl<S> UnwindSafe for Comment<S>where
S: 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