pub struct TransactionObject {Show 25 fields
pub(crate) in_active_chain: Option<bool>,
pub(crate) hex: SerializedTransaction,
pub(crate) height: Option<u32>,
pub(crate) confirmations: Option<u32>,
pub(crate) inputs: Vec<Input>,
pub(crate) outputs: Vec<Output>,
pub(crate) shielded_spends: Vec<ShieldedSpend>,
pub(crate) shielded_outputs: Vec<ShieldedOutput>,
pub(crate) binding_sig: Option<[u8; 64]>,
pub(crate) joinsplit_pub_key: Option<[u8; 32]>,
pub(crate) joinsplit_sig: Option<[u8; 64]>,
pub(crate) orchard: Option<Orchard>,
pub(crate) value_balance: Option<f64>,
pub(crate) value_balance_zat: Option<i64>,
pub(crate) size: Option<i64>,
pub(crate) time: Option<i64>,
pub txid: Hash,
pub(crate) auth_digest: Option<AuthDigest>,
pub(crate) overwintered: bool,
pub(crate) version: u32,
pub(crate) version_group_id: Option<Vec<u8>>,
pub(crate) lock_time: u32,
pub(crate) expiry_height: Option<Height>,
pub(crate) block_hash: Option<Hash>,
pub(crate) block_time: Option<i64>,
}
Expand description
A Transaction object as returned by getrawtransaction
and getblock
RPC
requests.
Fields§
§in_active_chain: Option<bool>
Whether specified block is in the active chain or not (only present with explicit “blockhash” argument)
hex: SerializedTransaction
The raw transaction, encoded as hex bytes.
height: Option<u32>
The height of the block in the best chain that contains the tx or None
if the tx is in
the mempool.
confirmations: Option<u32>
The height diff between the block containing the tx and the best chain tip + 1 or None
if the tx is in the mempool.
inputs: Vec<Input>
Transparent inputs of the transaction.
outputs: Vec<Output>
Transparent outputs of the transaction.
shielded_spends: Vec<ShieldedSpend>
Sapling spends of the transaction.
shielded_outputs: Vec<ShieldedOutput>
Sapling outputs of the transaction.
binding_sig: Option<[u8; 64]>
Sapling binding signature of the transaction.
joinsplit_pub_key: Option<[u8; 32]>
JoinSplit public key of the transaction.
joinsplit_sig: Option<[u8; 64]>
JoinSplit signature of the transaction.
orchard: Option<Orchard>
Orchard actions of the transaction.
value_balance: Option<f64>
The net value of Sapling Spends minus Outputs in ZEC
value_balance_zat: Option<i64>
The net value of Sapling Spends minus Outputs in zatoshis
size: Option<i64>
The size of the transaction in bytes.
time: Option<i64>
The time the transaction was included in a block.
txid: Hash
The transaction identifier, encoded as hex bytes.
auth_digest: Option<AuthDigest>
The transaction’s auth digest. For pre-v5 transactions this will be ffff..ffff
overwintered: bool
Whether the overwintered flag is set
version: u32
The version of the transaction.
version_group_id: Option<Vec<u8>>
The version group ID.
lock_time: u32
The lock time
expiry_height: Option<Height>
The block height after which the transaction expires
block_hash: Option<Hash>
The block hash
block_time: Option<i64>
The block height after which the transaction expires
Implementations§
Source§impl TransactionObject
Auto-generated by derive_getters::Getters
.
impl TransactionObject
Auto-generated by derive_getters::Getters
.
Sourcepub fn in_active_chain(&self) -> Option<bool>
pub fn in_active_chain(&self) -> Option<bool>
Whether specified block is in the active chain or not (only present with explicit “blockhash” argument)
Sourcepub fn hex(&self) -> &SerializedTransaction
pub fn hex(&self) -> &SerializedTransaction
The raw transaction, encoded as hex bytes.
Sourcepub fn height(&self) -> Option<u32>
pub fn height(&self) -> Option<u32>
The height of the block in the best chain that contains the tx or None
if the tx is in
the mempool.
Sourcepub fn confirmations(&self) -> Option<u32>
pub fn confirmations(&self) -> Option<u32>
The height diff between the block containing the tx and the best chain tip + 1 or None
if the tx is in the mempool.
Sourcepub fn shielded_spends(&self) -> &Vec<ShieldedSpend>
pub fn shielded_spends(&self) -> &Vec<ShieldedSpend>
Sapling spends of the transaction.
Sourcepub fn shielded_outputs(&self) -> &Vec<ShieldedOutput>
pub fn shielded_outputs(&self) -> &Vec<ShieldedOutput>
Sapling outputs of the transaction.
Sourcepub fn binding_sig(&self) -> Option<[u8; 64]>
pub fn binding_sig(&self) -> Option<[u8; 64]>
Sapling binding signature of the transaction.
Sourcepub fn joinsplit_pub_key(&self) -> Option<[u8; 32]>
pub fn joinsplit_pub_key(&self) -> Option<[u8; 32]>
JoinSplit public key of the transaction.
Sourcepub fn joinsplit_sig(&self) -> Option<[u8; 64]>
pub fn joinsplit_sig(&self) -> Option<[u8; 64]>
JoinSplit signature of the transaction.
Sourcepub fn value_balance(&self) -> Option<f64>
pub fn value_balance(&self) -> Option<f64>
The net value of Sapling Spends minus Outputs in ZEC
Sourcepub fn value_balance_zat(&self) -> Option<i64>
pub fn value_balance_zat(&self) -> Option<i64>
The net value of Sapling Spends minus Outputs in zatoshis
Sourcepub fn auth_digest(&self) -> Option<AuthDigest>
pub fn auth_digest(&self) -> Option<AuthDigest>
The transaction’s auth digest. For pre-v5 transactions this will be ffff..ffff
Sourcepub fn overwintered(&self) -> bool
pub fn overwintered(&self) -> bool
Whether the overwintered flag is set
Sourcepub fn version_group_id(&self) -> &Option<Vec<u8>>
pub fn version_group_id(&self) -> &Option<Vec<u8>>
The version group ID.
Sourcepub fn expiry_height(&self) -> Option<Height>
pub fn expiry_height(&self) -> Option<Height>
The block height after which the transaction expires
Sourcepub fn block_hash(&self) -> Option<Hash>
pub fn block_hash(&self) -> Option<Hash>
The block hash
Sourcepub fn block_time(&self) -> Option<i64>
pub fn block_time(&self) -> Option<i64>
The block height after which the transaction expires
Source§impl TransactionObject
impl TransactionObject
Sourcepub fn new(
in_active_chain: Option<bool>,
hex: SerializedTransaction,
height: Option<u32>,
confirmations: Option<u32>,
inputs: Vec<Input>,
outputs: Vec<Output>,
shielded_spends: Vec<ShieldedSpend>,
shielded_outputs: Vec<ShieldedOutput>,
binding_sig: Option<[u8; 64]>,
joinsplit_pub_key: Option<[u8; 32]>,
joinsplit_sig: Option<[u8; 64]>,
orchard: Option<Orchard>,
value_balance: Option<f64>,
value_balance_zat: Option<i64>,
size: Option<i64>,
time: Option<i64>,
txid: Hash,
auth_digest: Option<AuthDigest>,
overwintered: bool,
version: u32,
version_group_id: Option<Vec<u8>>,
lock_time: u32,
expiry_height: Option<Height>,
block_hash: Option<Hash>,
block_time: Option<i64>,
) -> Self
pub fn new( in_active_chain: Option<bool>, hex: SerializedTransaction, height: Option<u32>, confirmations: Option<u32>, inputs: Vec<Input>, outputs: Vec<Output>, shielded_spends: Vec<ShieldedSpend>, shielded_outputs: Vec<ShieldedOutput>, binding_sig: Option<[u8; 64]>, joinsplit_pub_key: Option<[u8; 32]>, joinsplit_sig: Option<[u8; 64]>, orchard: Option<Orchard>, value_balance: Option<f64>, value_balance_zat: Option<i64>, size: Option<i64>, time: Option<i64>, txid: Hash, auth_digest: Option<AuthDigest>, overwintered: bool, version: u32, version_group_id: Option<Vec<u8>>, lock_time: u32, expiry_height: Option<Height>, block_hash: Option<Hash>, block_time: Option<i64>, ) -> Self
Constructs a new TransactionObject
.
Source§impl TransactionObject
impl TransactionObject
Sourcepub fn from_transaction(
tx: Arc<Transaction>,
height: Option<Height>,
confirmations: Option<u32>,
network: &Network,
block_time: Option<DateTime<Utc>>,
block_hash: Option<Hash>,
in_active_chain: Option<bool>,
txid: Hash,
) -> Self
pub fn from_transaction( tx: Arc<Transaction>, height: Option<Height>, confirmations: Option<u32>, network: &Network, block_time: Option<DateTime<Utc>>, block_hash: Option<Hash>, in_active_chain: Option<bool>, txid: Hash, ) -> Self
Converts tx
and height
into a new GetRawTransaction
in the verbose
format.
Trait Implementations§
Source§impl Clone for TransactionObject
impl Clone for TransactionObject
Source§fn clone(&self) -> TransactionObject
fn clone(&self) -> TransactionObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TransactionObject
impl Debug for TransactionObject
Source§impl Default for TransactionObject
impl Default for TransactionObject
Source§impl<'de> Deserialize<'de> for TransactionObject
impl<'de> Deserialize<'de> for TransactionObject
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>,
Source§impl PartialEq for TransactionObject
impl PartialEq for TransactionObject
Source§impl Serialize for TransactionObject
impl Serialize for TransactionObject
impl StructuralPartialEq for TransactionObject
Auto Trait Implementations§
impl Freeze for TransactionObject
impl RefUnwindSafe for TransactionObject
impl Send for TransactionObject
impl Sync for TransactionObject
impl Unpin for TransactionObject
impl UnwindSafe for TransactionObject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg
] or
a color-specific method, such as [OwoColorize::green
], Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg
] or
a color-specific method, such as [OwoColorize::on_yellow
], Read more§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<Response, Error> ResponseResult<Response, Error> for Response
impl<Response, Error> ResponseResult<Response, Error> for Response
Source§fn into_result(self) -> Result<Response, Error>
fn into_result(self) -> Result<Response, Error>
Result
that can be sent as a response.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.