pub enum RedditListing {
Listing {
after: Option<FullName>,
dist: Option<u32>,
modhash: String,
geo_filter: Option<String>,
children: Vec<RedditListing>,
},
Link(Box<Link>),
Comment(Box<Comment>),
}Variants§
Trait Implementations§
Source§impl Clone for RedditListing
impl Clone for RedditListing
Source§fn clone(&self) -> RedditListing
fn clone(&self) -> RedditListing
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 RedditListing
impl Debug for RedditListing
Source§impl<'de> Deserialize<'de> for RedditListing
impl<'de> Deserialize<'de> for RedditListing
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 RedditListing
impl PartialEq for RedditListing
Source§impl Serialize for RedditListing
impl Serialize for RedditListing
impl StructuralPartialEq for RedditListing
Auto Trait Implementations§
impl Freeze for RedditListing
impl RefUnwindSafe for RedditListing
impl Send for RedditListing
impl Sync for RedditListing
impl Unpin for RedditListing
impl UnwindSafe for RedditListing
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