pub struct DraftWithIdData {
pub draft: Draft,
pub id: Tid,
}Available on crate feature
namespace-appbsky only.Expand description
A draft with an identifier, used to store drafts in private storage (stash).
Fields§
§draft: Draft§id: TidA TID to be used as a draft identifier.
Trait Implementations§
Source§impl Clone for DraftWithIdData
impl Clone for DraftWithIdData
Source§impl Debug for DraftWithIdData
impl Debug for DraftWithIdData
Source§impl<'de> Deserialize<'de> for DraftWithIdData
impl<'de> Deserialize<'de> for DraftWithIdData
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 DraftWithIdData
Source§impl PartialEq for DraftWithIdData
impl PartialEq for DraftWithIdData
Source§impl Serialize for DraftWithIdData
impl Serialize for DraftWithIdData
impl StructuralPartialEq for DraftWithIdData
Auto Trait Implementations§
impl Freeze for DraftWithIdData
impl RefUnwindSafe for DraftWithIdData
impl Send for DraftWithIdData
impl Sync for DraftWithIdData
impl Unpin for DraftWithIdData
impl UnsafeUnpin for DraftWithIdData
impl UnwindSafe for DraftWithIdData
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.