pub struct ChainContext {
pub network: String,
pub extra: HashMap<String, String>,
}Expand description
Stored in the parent value of chain wrapper types so cube resolvers can
retrieve the active chain without a network argument on themselves.
Service-layer extra_args values are available in the extra map.
Fields§
§network: String§extra: HashMap<String, String>Auto Trait Implementations§
impl Freeze for ChainContext
impl RefUnwindSafe for ChainContext
impl Send for ChainContext
impl Sync for ChainContext
impl Unpin for ChainContext
impl UnsafeUnpin for ChainContext
impl UnwindSafe for ChainContext
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