pub struct AccountExport {
pub format: AccountExportFormat,
pub exported_at: String,
pub counts: AccountExportCounts,
pub complete: bool,
pub omitted: Vec<String>,
pub files: Map<String, Value>,
}Expand description
The JSON form of an account export. The same bundle the zip contains, as one document.
Fields§
§format: AccountExportFormat§exported_at: String§counts: AccountExportCounts§complete: boolFalse when a size ceiling was hit; omitted then says what was left out. An export that
quietly drops things is worse than one that admits it.
omitted: Vec<String>§files: Map<String, Value>Path inside the bundle → its contents (account.json, projects.md, memory.md,
chats/…).
Trait Implementations§
Source§impl Clone for AccountExport
impl Clone for AccountExport
Source§fn clone(&self) -> AccountExport
fn clone(&self) -> AccountExport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountExport
impl Debug for AccountExport
Source§impl Default for AccountExport
impl Default for AccountExport
Source§fn default() -> AccountExport
fn default() -> AccountExport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountExport
impl<'de> Deserialize<'de> for AccountExport
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
Source§impl PartialEq for AccountExport
impl PartialEq for AccountExport
Source§impl Serialize for AccountExport
impl Serialize for AccountExport
impl StructuralPartialEq for AccountExport
Auto Trait Implementations§
impl Freeze for AccountExport
impl RefUnwindSafe for AccountExport
impl Send for AccountExport
impl Sync for AccountExport
impl Unpin for AccountExport
impl UnsafeUnpin for AccountExport
impl UnwindSafe for AccountExport
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