pub struct ToTaggedKey {
pub key: Hex<32>,
pub view_tag: Hex<1>,
}
Expand description
Holds the public key of an output destination with its view tag.
Fields§
§key: Hex<32>
public key used to indicate the destination of a transaction output
view_tag: Hex<1>
1st byte of a shared secret used to reduce wallet synchronization time
Trait Implementations§
Source§impl Clone for ToTaggedKey
impl Clone for ToTaggedKey
Source§fn clone(&self) -> ToTaggedKey
fn clone(&self) -> ToTaggedKey
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ToTaggedKey
impl Debug for ToTaggedKey
Source§impl Default for ToTaggedKey
impl Default for ToTaggedKey
Source§fn default() -> ToTaggedKey
fn default() -> ToTaggedKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToTaggedKey
impl<'de> Deserialize<'de> for ToTaggedKey
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 Serialize for ToTaggedKey
impl Serialize for ToTaggedKey
impl Copy for ToTaggedKey
Auto Trait Implementations§
impl Freeze for ToTaggedKey
impl RefUnwindSafe for ToTaggedKey
impl Send for ToTaggedKey
impl Sync for ToTaggedKey
impl Unpin for ToTaggedKey
impl UnwindSafe for ToTaggedKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 33 bytes