pub struct ArchiveManifest {
pub protocol: String,
pub kind: String,
pub room_id: String,
pub url: String,
pub generated_at: i64,
pub last_seq: u64,
pub last_hash: String,
pub formats: BTreeMap<String, String>,
pub packs: Vec<ArchivedPack>,
pub extra: BTreeMap<String, Value>,
}Fields§
§protocol: String§kind: String§room_id: String§url: String§generated_at: i64§last_seq: u64§last_hash: StringHash of the record at last_seq: the archive’s commitment to every record.
formats: BTreeMap<String, String>Format names mapped to URLs; jsonl is the required record log.
packs: Vec<ArchivedPack>Every external pack the room imported, with a URL serving its exact bytes.
extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for ArchiveManifest
impl Clone for ArchiveManifest
Source§impl Debug for ArchiveManifest
impl Debug for ArchiveManifest
Source§impl<'de> Deserialize<'de> for ArchiveManifest
impl<'de> Deserialize<'de> for ArchiveManifest
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 ArchiveManifest
impl PartialEq for ArchiveManifest
Source§impl Serialize for ArchiveManifest
impl Serialize for ArchiveManifest
impl StructuralPartialEq for ArchiveManifest
Auto Trait Implementations§
impl Freeze for ArchiveManifest
impl RefUnwindSafe for ArchiveManifest
impl Send for ArchiveManifest
impl Sync for ArchiveManifest
impl Unpin for ArchiveManifest
impl UnsafeUnpin for ArchiveManifest
impl UnwindSafe for ArchiveManifest
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