pub struct Chain {
pub id: &'static str,
pub name: &'static str,
pub symbol: &'static str,
pub coin_type: u32,
pub curve: &'static str,
pub default_format: Option<&'static str>,
pub default_script_type: &'static str,
pub p2pkh: &'static [u8],
pub p2sh: &'static [u8],
pub hrp: Option<&'static str>,
}Fields§
§id: &'static str§name: &'static str§symbol: &'static str§coin_type: u32§curve: &'static str§default_format: Option<&'static str>§default_script_type: &'static str§p2pkh: &'static [u8]§p2sh: &'static [u8]§hrp: Option<&'static str>Trait Implementations§
impl Copy for Chain
Auto Trait Implementations§
impl Freeze for Chain
impl RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnwindSafe for Chain
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