pub struct Snapshot {
pub manifest: Manifest,
pub uploaded: Vec<u32>,
pub complete: bool,
pub upload_until: u64,
}Fields§
§manifest: Manifest§uploaded: Vec<u32>§complete: bool§upload_until: u64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
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
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Forget for Snapshot
impl Freeze for Snapshot
impl Move for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshotwhere
RawVecInner: Send,
impl Sync for Snapshotwhere
RawVecInner: Sync,
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Chunk>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
impl UnwindSafe for Snapshotwhere
RawVecInner: 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