pub struct MirrorBondEntry {
pub store_id: String,
pub root: String,
pub state: MirrorBondState,
}Expand description
One row of MirrorBondStatesResult: which bond, and what its state is.
The state is FLATTENED into the row, so a row is one object carrying store_id, root,
bond_state and that state’s own payload — never a nested envelope a client has to unwrap
before it can branch.
Fields§
§store_id: StringThe store id this bond is for, hex, no 0x.
root: StringThe ROOT this bond is for, hex, no 0x.
Part of the key, never decoration. A publisher funds the latest root and may decline to fund
older ones, so a coin bonds one (store, root) pair and a surface keyed on the store alone
would merge a funded root with an unfunded one into a single misleading row.
state: MirrorBondStateWhat this node can say about the bond.
Trait Implementations§
Source§impl Clone for MirrorBondEntry
impl Clone for MirrorBondEntry
Source§fn clone(&self) -> MirrorBondEntry
fn clone(&self) -> MirrorBondEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MirrorBondEntry
impl Debug for MirrorBondEntry
Source§impl<'de> Deserialize<'de> for MirrorBondEntry
impl<'de> Deserialize<'de> for MirrorBondEntry
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 MirrorBondEntry
Source§impl PartialEq for MirrorBondEntry
impl PartialEq for MirrorBondEntry
Source§impl Serialize for MirrorBondEntry
impl Serialize for MirrorBondEntry
impl StructuralPartialEq for MirrorBondEntry
Auto Trait Implementations§
impl Freeze for MirrorBondEntry
impl RefUnwindSafe for MirrorBondEntry
impl Send for MirrorBondEntry
impl Sync for MirrorBondEntry
impl Unpin for MirrorBondEntry
impl UnsafeUnpin for MirrorBondEntry
impl UnwindSafe for MirrorBondEntry
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