pub struct DraftData {
pub device_id: Option<String>,
pub device_name: Option<String>,
pub langs: Option<Vec<Language>>,
pub postgate_embedding_rules: Option<Vec<Union<DraftPostgateEmbeddingRulesItem>>>,
pub posts: Vec<DraftPost>,
pub threadgate_allow: Option<Vec<Union<DraftThreadgateAllowItem>>>,
}Available on crate feature
namespace-appbsky only.Expand description
A draft containing an array of draft posts.
Fields§
§device_id: Option<String>UUIDv4 identifier of the device that created this draft.
device_name: Option<String>The device and/or platform on which the draft was created.
langs: Option<Vec<Language>>Indicates human language of posts primary text content.
postgate_embedding_rules: Option<Vec<Union<DraftPostgateEmbeddingRulesItem>>>Embedding rules for the postgates to be created when this draft is published.
posts: Vec<DraftPost>Array of draft posts that compose this draft.
threadgate_allow: Option<Vec<Union<DraftThreadgateAllowItem>>>Allow-rules for the threadgate to be created when this draft is published.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DraftData
impl<'de> Deserialize<'de> for DraftData
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 DraftData
impl StructuralPartialEq for DraftData
Auto Trait Implementations§
impl Freeze for DraftData
impl RefUnwindSafe for DraftData
impl Send for DraftData
impl Sync for DraftData
impl Unpin for DraftData
impl UnsafeUnpin for DraftData
impl UnwindSafe for DraftData
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.