pub struct Snapshot {
pub value: i128,
pub rights: BTreeMap<String, i128>,
pub headroom: Option<BTreeMap<String, i128>>,
pub tips: BTreeMap<String, String>,
pub opener: String,
}Fields§
§value: i128§rights: BTreeMap<String, i128>§headroom: Option<BTreeMap<String, i128>>§tips: BTreeMap<String, String>§opener: StringTrait Implementations§
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 Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshotwhere
*const LeafNode<String, i128> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, i128)>>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Snapshotwhere
BTreeMap<String, i128>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
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