pub struct GetRawChangeAddress(pub String);Expand description
Result of the JSON-RPC method getrawchangeaddress.
getrawchangeaddress ( “address_type” )
Returns a new Bitcoin address, for receiving change. This is for use with raw transactions, NOT normal use.
Tuple Fields§
§0: StringImplementations§
Source§impl GetRawChangeAddress
impl GetRawChangeAddress
Sourcepub fn into_model(self) -> Result<GetRawChangeAddress, ParseError>
pub fn into_model(self) -> Result<GetRawChangeAddress, ParseError>
Converts version specific type to a version nonspecific, more strongly typed type.
Sourcepub fn address(self) -> Result<Address<NetworkUnchecked>, ParseError>
pub fn address(self) -> Result<Address<NetworkUnchecked>, ParseError>
Converts json straight to a bitcoin::Address.
Trait Implementations§
Source§impl Clone for GetRawChangeAddress
impl Clone for GetRawChangeAddress
Source§fn clone(&self) -> GetRawChangeAddress
fn clone(&self) -> GetRawChangeAddress
Returns a duplicate of the value. Read more
1.0.0 · 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 GetRawChangeAddress
impl Debug for GetRawChangeAddress
Source§impl<'de> Deserialize<'de> for GetRawChangeAddress
impl<'de> Deserialize<'de> for GetRawChangeAddress
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetRawChangeAddress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetRawChangeAddress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetRawChangeAddress
impl PartialEq for GetRawChangeAddress
Source§impl Serialize for GetRawChangeAddress
impl Serialize for GetRawChangeAddress
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetRawChangeAddress
Auto Trait Implementations§
impl Freeze for GetRawChangeAddress
impl RefUnwindSafe for GetRawChangeAddress
impl Send for GetRawChangeAddress
impl Sync for GetRawChangeAddress
impl Unpin for GetRawChangeAddress
impl UnsafeUnpin for GetRawChangeAddress
impl UnwindSafe for GetRawChangeAddress
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