pub struct Imported {
pub outcome: ImportOutcome,
pub id: String,
pub live: bool,
pub message_count: usize,
pub shelf: Option<String>,
pub same_content_as: Option<String>,
pub unread: Option<String>,
}Expand description
One record an import accepted. Nothing in it is content.
Fields§
§outcome: ImportOutcome§id: StringThe record’s id, which is the id it is stored under.
live: boolWhether the record that came in is live (not a tombstone).
message_count: usizeThe messages in the record that came in; 0 for a tombstone.
shelf: Option<String>The shelf the record’s file is on, or in a dry run would be written
to. None when the store holds it in a legacy slot file.
same_content_as: Option<String>The id of another live archive of this store with the same content (the same digest), found where a seal looks. The record is stored under its own id all the same.
unread: Option<String>For ImportOutcome::Forgotten: Forgotten::unread of the
forget. Some means a copy of the content may not have been reached.
Trait Implementations§
impl Eq for Imported
impl StructuralPartialEq for Imported
Auto Trait Implementations§
impl Forget for Imported
impl Freeze for Imported
impl Move for Imported
impl RefUnwindSafe for Imported
impl Send for Imported
impl Sync for Imported
impl Unpin for Imported
impl UnsafeUnpin for Imported
impl UnwindSafe for Imported
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.