pub struct DraftPostData {
pub embed_externals: Option<Vec<DraftEmbedExternal>>,
pub embed_gallery: Option<DraftEmbedGallery>,
pub embed_images: Option<Vec<DraftEmbedImage>>,
pub embed_records: Option<Vec<DraftEmbedRecord>>,
pub embed_videos: Option<Vec<DraftEmbedVideo>>,
pub labels: Option<Union<DraftPostLabelsRefs>>,
pub text: String,
}Available on crate feature
namespace-appbsky only.Expand description
One of the posts that compose a draft.
Fields§
§embed_externals: Option<Vec<DraftEmbedExternal>>§embed_gallery: Option<DraftEmbedGallery>§embed_images: Option<Vec<DraftEmbedImage>>§embed_records: Option<Vec<DraftEmbedRecord>>§embed_videos: Option<Vec<DraftEmbedVideo>>§labels: Option<Union<DraftPostLabelsRefs>>Self-label values for this post. Effectively content warnings.
text: StringThe primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts.
Trait Implementations§
Source§impl Clone for DraftPostData
impl Clone for DraftPostData
Source§impl Debug for DraftPostData
impl Debug for DraftPostData
Source§impl<'de> Deserialize<'de> for DraftPostData
impl<'de> Deserialize<'de> for DraftPostData
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
impl Eq for DraftPostData
Source§impl PartialEq for DraftPostData
impl PartialEq for DraftPostData
Source§impl Serialize for DraftPostData
impl Serialize for DraftPostData
impl StructuralPartialEq for DraftPostData
Auto Trait Implementations§
impl Freeze for DraftPostData
impl RefUnwindSafe for DraftPostData
impl Send for DraftPostData
impl Sync for DraftPostData
impl Unpin for DraftPostData
impl UnsafeUnpin for DraftPostData
impl UnwindSafe for DraftPostData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.