pub struct BlockchainExplorer {
pub base: String,
pub address: Option<String>,
pub tx: Option<String>,
pub token: Option<String>,
}Fields§
§base: StringExplorer base url
address: Option<String>Explorer address url
tx: Option<String>Explorer transaction url
token: Option<String>Explorer token url
Implementations§
Source§impl BlockchainExplorer
impl BlockchainExplorer
pub fn new(base: String) -> BlockchainExplorer
Trait Implementations§
Source§impl Clone for BlockchainExplorer
impl Clone for BlockchainExplorer
Source§fn clone(&self) -> BlockchainExplorer
fn clone(&self) -> BlockchainExplorer
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 BlockchainExplorer
impl Debug for BlockchainExplorer
Source§impl Default for BlockchainExplorer
impl Default for BlockchainExplorer
Source§fn default() -> BlockchainExplorer
fn default() -> BlockchainExplorer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockchainExplorer
impl<'de> Deserialize<'de> for BlockchainExplorer
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
Source§impl PartialEq for BlockchainExplorer
impl PartialEq for BlockchainExplorer
Source§fn eq(&self, other: &BlockchainExplorer) -> bool
fn eq(&self, other: &BlockchainExplorer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BlockchainExplorer
impl Serialize for BlockchainExplorer
impl StructuralPartialEq for BlockchainExplorer
Auto Trait Implementations§
impl Freeze for BlockchainExplorer
impl RefUnwindSafe for BlockchainExplorer
impl Send for BlockchainExplorer
impl Sync for BlockchainExplorer
impl Unpin for BlockchainExplorer
impl UnsafeUnpin for BlockchainExplorer
impl UnwindSafe for BlockchainExplorer
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