pub struct SocialPosts {
pub data: Option<Vec<SocialPost>>,
}Fields§
§data: Option<Vec<SocialPost>>Data is the posts, most-recently-updated first, bounded by the limit.
Implementations§
Source§impl SocialPosts
impl SocialPosts
pub fn new() -> SocialPosts
Trait Implementations§
Source§impl Clone for SocialPosts
impl Clone for SocialPosts
Source§fn clone(&self) -> SocialPosts
fn clone(&self) -> SocialPosts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SocialPosts
impl Debug for SocialPosts
Source§impl Default for SocialPosts
impl Default for SocialPosts
Source§fn default() -> SocialPosts
fn default() -> SocialPosts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SocialPosts
impl<'de> Deserialize<'de> for SocialPosts
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 SocialPosts
impl PartialEq for SocialPosts
Source§impl Serialize for SocialPosts
impl Serialize for SocialPosts
impl StructuralPartialEq for SocialPosts
Auto Trait Implementations§
impl Freeze for SocialPosts
impl RefUnwindSafe for SocialPosts
impl Send for SocialPosts
impl Sync for SocialPosts
impl Unpin for SocialPosts
impl UnsafeUnpin for SocialPosts
impl UnwindSafe for SocialPosts
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