pub struct ImportItem {
pub title: String,
pub description: Option<String>,
pub type_of: String,
pub parent_title: Option<String>,
pub position: Option<i64>,
}Expand description
One item in an import payload — used both for the parsed items returned by
preview_import and as the request body elements for commit_import.
Fields§
§title: String§description: Option<String>§type_of: String§parent_title: Option<String>§position: Option<i64>Trait Implementations§
Source§impl Clone for ImportItem
impl Clone for ImportItem
Source§impl Debug for ImportItem
impl Debug for ImportItem
Source§impl<'de> Deserialize<'de> for ImportItem
impl<'de> Deserialize<'de> for ImportItem
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 Forget for ImportItem
impl Freeze for ImportItem
impl Move for ImportItem
impl RefUnwindSafe for ImportItem
impl Send for ImportItemwhere
RawVecInner: Send,
impl Sync for ImportItemwhere
RawVecInner: Sync,
impl Unpin for ImportItem
impl UnsafeUnpin for ImportItem
impl UnwindSafe for ImportItemwhere
RawVecInner: UnwindSafe,
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