pub struct PostContent {
pub post_type: PostType,
pub content: Option<Value>,
}Fields§
§post_type: PostType§content: Option<Value>Implementations§
Source§impl PostContent
impl PostContent
Trait Implementations§
Source§impl Clone for PostContent
impl Clone for PostContent
Source§fn clone(&self) -> PostContent
fn clone(&self) -> PostContent
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 PostContent
impl Debug for PostContent
Source§impl<'de> Deserialize<'de> for PostContent
impl<'de> Deserialize<'de> for PostContent
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 PostContent
impl PartialEq for PostContent
Source§impl Serialize for PostContent
impl Serialize for PostContent
impl StructuralPartialEq for PostContent
Auto Trait Implementations§
impl Freeze for PostContent
impl RefUnwindSafe for PostContent
impl Send for PostContent
impl Sync for PostContent
impl Unpin for PostContent
impl UnsafeUnpin for PostContent
impl UnwindSafe for PostContent
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