pub struct MovePost {
pub id: String,
pub token: Option<String>,
}Expand description
A struct describing a post to move into a collection
Fields§
§id: StringPost ID
token: Option<String>Post token, if post isn’t owned
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MovePost
impl<'de> Deserialize<'de> for MovePost
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
Auto Trait Implementations§
impl Freeze for MovePost
impl RefUnwindSafe for MovePost
impl Send for MovePost
impl Sync for MovePost
impl Unpin for MovePost
impl UnwindSafe for MovePost
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