pub struct CoreV5 {
pub account: DbOption<Account>,
pub last_synced: DbOption<i64>,
pub root: DbOption<Uuid>,
pub local_metadata: DbHashMap<Uuid, SignedMeta, UuidIdentityHasherBuilder>,
pub base_metadata: DbHashMap<Uuid, SignedMeta, UuidIdentityHasherBuilder>,
pub pub_key_lookup: DbHashMap<Owner, String>,
pub doc_events: DbVec<DocEvent>,
pub id: DbOption<LbID>,
pub pinned_files: DbVec<Uuid>,
pub last_extracted_panic: DbOption<i64>,
pub searched_files: DbVec<Uuid>,
}Fields§
§account: DbOption<Account>§last_synced: DbOption<i64>§root: DbOption<Uuid>§local_metadata: DbHashMap<Uuid, SignedMeta, UuidIdentityHasherBuilder>§base_metadata: DbHashMap<Uuid, SignedMeta, UuidIdentityHasherBuilder>§pub_key_lookup: DbHashMap<Owner, String>map from pub key to username
doc_events: DbVec<DocEvent>§id: DbOption<LbID>§pinned_files: DbVec<Uuid>§last_extracted_panic: DbOption<i64>Sentinel for send_debug_info throttling: the millisecond timestamp of the
most recent panic file we’ve already uploaded. None means we have never
sent debug info; Some(0) means we’ve sent before but no panic file existed.
searched_files: DbVec<Uuid>Trait Implementations§
Auto Trait Implementations§
impl Forget for CoreV5
impl Freeze for CoreV5where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
I32NotAllOnes: Freeze,
*mut Counter<Channel<Notification>>: Freeze,
*mut Counter<Channel<Notification>>: Freeze,
*mut Counter<Channel<Notification>>: Freeze,
PhantomData<(Uuid, ECSigned<Meta>)>: Freeze,
PhantomData<(Owner, String)>: Freeze,
PhantomData<DocEvent>: Freeze,
PhantomData<Uuid>: Freeze,
impl Move for CoreV5
impl RefUnwindSafe for CoreV5
impl Send for CoreV5
impl Sync for CoreV5
impl Unpin for CoreV5where
*const u8 is !null: Unpin,
I32NotAllOnes: Unpin,
*mut Counter<Channel<Notification>>: Unpin,
*mut Counter<Channel<Notification>>: Unpin,
*mut Counter<Channel<Notification>>: Unpin,
impl UnsafeUnpin for CoreV5where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
I32NotAllOnes: UnsafeUnpin,
*mut Counter<Channel<Notification>>: UnsafeUnpin,
*mut Counter<Channel<Notification>>: UnsafeUnpin,
*mut Counter<Channel<Notification>>: UnsafeUnpin,
PhantomData<(Uuid, ECSigned<Meta>)>: UnsafeUnpin,
PhantomData<(Owner, String)>: UnsafeUnpin,
PhantomData<DocEvent>: UnsafeUnpin,
PhantomData<Uuid>: UnsafeUnpin,
impl UnwindSafe for CoreV5where
RawVecInner: UnwindSafe,
I32NotAllOnes: UnwindSafe,
Sender<Notification>: UnwindSafe,
HashMap<Uuid, ECSigned<Meta>, UuidIdentityHasherBuilder>: UnwindSafe,
HashMap<Owner, String>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more