fn from(network: Network) -> Self {
        match network {
            Network::Mainnet => magics::MAINNET,
            Network::Testnet => magics::TESTNET,
        }
    }
/// Get the magic value associated to this `Network`.
Get the magic value associated to this `Network`.
Get the magic value associated to this ` Network ` .
fn from(network: Network) -> Self {
        match network {
            Network::Mainnet => magics::MAINNET,
            Network::Testnet => magics::TESTNET,
        }
    }
fn from ( network : Network ) -> Self { match network { Network :: Mainnet => magics :: MAINNET , Network :: Testnet => magics :: TESTNET , } }
Get the magic value associated to this `Network`.
Get the magic value associated to this ` Network ` .
network
Network