Struct common_types::transaction::SignatureComponents  
source · [−]Expand description
Components that constitute transaction signature
Fields
standard_v: u8The V field of the signature; the LS bit described which half of the curve our point falls in. It can be 0 or 1.
r: U256The R field of the signature; helps describe the point on the curve.
s: U256The S field of the signature; helps describe the point on the curve.
Implementations
sourceimpl SignatureComponents
 
impl SignatureComponents
pub fn rlp_append(&self, s: &mut RlpStream)
pub fn rlp_append_with_chain_id(&self, s: &mut RlpStream, chain_id: Option<u64>)
Trait Implementations
sourceimpl Clone for SignatureComponents
 
impl Clone for SignatureComponents
sourcefn clone(&self) -> SignatureComponents
 
fn clone(&self) -> SignatureComponents
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SignatureComponents
 
impl Debug for SignatureComponents
sourceimpl MallocSizeOf for SignatureComponents
 
impl MallocSizeOf for SignatureComponents
sourcefn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
 
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
If T::size_of is a constant, consider implementing constant_size as well. Read more
sourcefn constant_size() -> Option<usize>
 
fn constant_size() -> Option<usize>
Used to optimize MallocSizeOf implementation for collections
like Vec and HashMap to avoid iterating over them unnecessarily.
The Self: Sized bound is for object safety. Read more
sourceimpl PartialEq<SignatureComponents> for SignatureComponents
 
impl PartialEq<SignatureComponents> for SignatureComponents
sourcefn eq(&self, other: &SignatureComponents) -> bool
 
fn eq(&self, other: &SignatureComponents) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SignatureComponents) -> bool
 
fn ne(&self, other: &SignatureComponents) -> bool
This method tests for !=.
impl Eq for SignatureComponents
impl StructuralEq for SignatureComponents
impl StructuralPartialEq for SignatureComponents
Auto Trait Implementations
impl RefUnwindSafe for SignatureComponents
impl Send for SignatureComponents
impl Sync for SignatureComponents
impl Unpin for SignatureComponents
impl UnwindSafe for SignatureComponents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> MallocSizeOfExt for T where
    T: MallocSizeOf, 
 
impl<T> MallocSizeOfExt for T where
    T: MallocSizeOf, 
sourcefn malloc_size_of(&self) -> usize
 
fn malloc_size_of(&self) -> usize
Method to launch a heapsize measurement with a fresh state. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
 
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
 
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more