Struct ck_doge_types::script::Address
source · pub struct Address(pub [u8; 21]);Tuple Fields§
§0: [u8; 21]Implementations§
source§impl Address
impl Address
pub fn is_p2pkh(&self, chain: &ChainParams) -> bool
pub fn is_p2sh(&self, chain: &ChainParams) -> bool
pub fn is_valid(&self, chain: &ChainParams) -> bool
pub fn to_script(&self, chain: &ChainParams) -> ScriptBuf
Trait Implementations§
source§impl PartialEq for Address
impl PartialEq for Address
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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