pub struct ClawstaPost {
pub id: String,
pub content: String,
pub author: String,
pub created_at: String,
}Expand description
A post from Clawsta.
Fields§
§id: String§content: String§created_at: StringTrait Implementations§
Source§impl Clone for ClawstaPost
impl Clone for ClawstaPost
Source§fn clone(&self) -> ClawstaPost
fn clone(&self) -> ClawstaPost
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 ClawstaPost
impl Debug for ClawstaPost
Source§impl<'de> Deserialize<'de> for ClawstaPost
impl<'de> Deserialize<'de> for ClawstaPost
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 ClawstaPost
impl RefUnwindSafe for ClawstaPost
impl Send for ClawstaPost
impl Sync for ClawstaPost
impl Unpin for ClawstaPost
impl UnsafeUnpin for ClawstaPost
impl UnwindSafe for ClawstaPost
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