pub struct ExportPage {
pub slug: String,
pub kind: String,
pub status: String,
pub body: String,
pub description: Description,
pub retired: bool,
pub sources: Vec<ExportSource>,
pub notes: Vec<ExportNote>,
pub extra: BTreeMap<String, Value>,
}Fields§
§slug: String§kind: String§status: String§body: String§description: DescriptionThe one-line page description (Description); a value that is
neither text nor null is an error. Page has no field for it
yet, so the plan counts it (Report::descriptions) and flags a page
without the key (Report::without_description_key): the import
fails closed rather than lose descriptions it did not see.
retired: bool§sources: Vec<ExportSource>§notes: Vec<ExportNote>§extra: BTreeMap<String, Value>Keys of the page record this reader does not map. The plan flags
the description-like ones (Report::description_like_keys).
Trait Implementations§
Source§impl Clone for ExportPage
impl Clone for ExportPage
Source§impl Debug for ExportPage
impl Debug for ExportPage
Source§impl Default for ExportPage
impl Default for ExportPage
Source§impl<'de> Deserialize<'de> for ExportPage
impl<'de> Deserialize<'de> for ExportPage
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 ExportPage
impl Freeze for ExportPagewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ExportSource>: Freeze,
PhantomData<ExportNote>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ExportPage
impl RefUnwindSafe for ExportPage
impl Send for ExportPage
impl Sync for ExportPage
impl Unpin for ExportPage
impl UnsafeUnpin for ExportPagewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ExportSource>: UnsafeUnpin,
PhantomData<ExportNote>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for ExportPage
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