pub enum SnapshotContents {
Text(TextSnapshotContents),
Binary(Rc<Vec<u8>>),
}
Expand description
The contents of a Snapshot
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotContents
impl Clone for SnapshotContents
Source§fn clone(&self) -> SnapshotContents
fn clone(&self) -> SnapshotContents
Returns a copy of the value. Read more
1.0.0 · 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 SnapshotContents
impl Debug for SnapshotContents
Source§impl PartialEq for SnapshotContents
impl PartialEq for SnapshotContents
Auto Trait Implementations§
impl Freeze for SnapshotContents
impl RefUnwindSafe for SnapshotContents
impl !Send for SnapshotContents
impl !Sync for SnapshotContents
impl Unpin for SnapshotContents
impl UnwindSafe for SnapshotContents
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