pub struct ChainDescriptor {
pub chain_id: String,
pub nodes: Vec<HookGraphNode>,
pub law_axis: LawAxis,
}Fields§
§chain_id: String§nodes: Vec<HookGraphNode>§law_axis: LawAxisTrait Implementations§
Source§impl Clone for ChainDescriptor
impl Clone for ChainDescriptor
Source§fn clone(&self) -> ChainDescriptor
fn clone(&self) -> ChainDescriptor
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 ChainDescriptor
impl Debug for ChainDescriptor
Source§impl Default for ChainDescriptor
impl Default for ChainDescriptor
Source§fn default() -> ChainDescriptor
fn default() -> ChainDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChainDescriptor
impl<'de> Deserialize<'de> for ChainDescriptor
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
Auto Trait Implementations§
impl Freeze for ChainDescriptor
impl RefUnwindSafe for ChainDescriptor
impl Send for ChainDescriptor
impl Sync for ChainDescriptor
impl Unpin for ChainDescriptor
impl UnsafeUnpin for ChainDescriptor
impl UnwindSafe for ChainDescriptor
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