pub struct SocialPostContent {
pub body: String,
pub media_urls: Vec<String>,
pub reply_to_id: Option<String>,
}Expand description
The content of a social media post to be drafted or scheduled.
Fields§
§body: StringMain post body text.
media_urls: Vec<String>URLs to media attachments (images, videos). May be empty.
reply_to_id: Option<String>Post ID or URL being replied to (for threaded replies). None for new posts.
Trait Implementations§
Source§impl Clone for SocialPostContent
impl Clone for SocialPostContent
Source§fn clone(&self) -> SocialPostContent
fn clone(&self) -> SocialPostContent
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 SocialPostContent
impl Debug for SocialPostContent
Source§impl<'de> Deserialize<'de> for SocialPostContent
impl<'de> Deserialize<'de> for SocialPostContent
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 SocialPostContent
impl PartialEq for SocialPostContent
Source§impl Serialize for SocialPostContent
impl Serialize for SocialPostContent
impl StructuralPartialEq for SocialPostContent
Auto Trait Implementations§
impl Freeze for SocialPostContent
impl RefUnwindSafe for SocialPostContent
impl Send for SocialPostContent
impl Sync for SocialPostContent
impl Unpin for SocialPostContent
impl UnsafeUnpin for SocialPostContent
impl UnwindSafe for SocialPostContent
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