pub enum CommentWithItem {
Movie {
movie: Box<Movie>,
comment: Comment,
},
Show {
show: Box<Show>,
comment: Comment,
},
Season {
season: Box<Season>,
comment: Comment,
},
Episode {
episode: Box<Episode>,
comment: Comment,
},
List {
list: Box<List>,
comment: Comment,
},
}Variants§
Trait Implementations§
Source§impl Clone for CommentWithItem
impl Clone for CommentWithItem
Source§fn clone(&self) -> CommentWithItem
fn clone(&self) -> CommentWithItem
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 CommentWithItem
impl Debug for CommentWithItem
Source§impl<'de> Deserialize<'de> for CommentWithItem
impl<'de> Deserialize<'de> for CommentWithItem
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 Hash for CommentWithItem
impl Hash for CommentWithItem
Source§impl PartialEq for CommentWithItem
impl PartialEq for CommentWithItem
impl Eq for CommentWithItem
impl StructuralPartialEq for CommentWithItem
Auto Trait Implementations§
impl Freeze for CommentWithItem
impl RefUnwindSafe for CommentWithItem
impl Send for CommentWithItem
impl Sync for CommentWithItem
impl Unpin for CommentWithItem
impl UnwindSafe for CommentWithItem
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