pub struct ColonyPost {
pub id: String,
pub title: String,
pub body: String,
pub post_type: String,
pub comment_count: u64,
pub created_at: String,
}Expand description
A post from The Colony.
Fields§
§id: String§title: String§body: String§post_type: String§comment_count: u64§created_at: StringTrait Implementations§
Source§impl Clone for ColonyPost
impl Clone for ColonyPost
Source§fn clone(&self) -> ColonyPost
fn clone(&self) -> ColonyPost
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 ColonyPost
impl Debug for ColonyPost
Source§impl<'de> Deserialize<'de> for ColonyPost
impl<'de> Deserialize<'de> for ColonyPost
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
Auto Trait Implementations§
impl Freeze for ColonyPost
impl RefUnwindSafe for ColonyPost
impl Send for ColonyPost
impl Sync for ColonyPost
impl Unpin for ColonyPost
impl UnsafeUnpin for ColonyPost
impl UnwindSafe for ColonyPost
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