pub struct DeleteContentPayload {
pub target: ContentId,
}Expand description
What an author signs to move its own post or comment to its trash — the
signed subset of POST /api/social/delete-content
Fields§
§target: ContentIdThe post or comment, by its full UUID
Trait Implementations§
Source§impl Clone for DeleteContentPayload
impl Clone for DeleteContentPayload
Source§impl Debug for DeleteContentPayload
impl Debug for DeleteContentPayload
Source§impl<'de> Deserialize<'de> for DeleteContentPayload
impl<'de> Deserialize<'de> for DeleteContentPayload
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 DeleteContentPayload
Source§impl<'a> From<&'a DeleteContentPayload> for SignedAction<'a>
impl<'a> From<&'a DeleteContentPayload> for SignedAction<'a>
Source§fn from(p: &'a DeleteContentPayload) -> Self
fn from(p: &'a DeleteContentPayload) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeleteContentPayload
impl PartialEq for DeleteContentPayload
Source§impl Serialize for DeleteContentPayload
impl Serialize for DeleteContentPayload
impl StructuralPartialEq for DeleteContentPayload
Auto Trait Implementations§
impl Freeze for DeleteContentPayload
impl RefUnwindSafe for DeleteContentPayload
impl Send for DeleteContentPayload
impl Sync for DeleteContentPayload
impl Unpin for DeleteContentPayload
impl UnsafeUnpin for DeleteContentPayload
impl UnwindSafe for DeleteContentPayload
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.