Struct ethereum::TransactionSignature [−][src]
Implementations
impl TransactionSignature
[src]
#[must_use]pub fn new(v: u64, r: H256, s: H256) -> Option<Self>
[src]
#[must_use]pub fn v(&self) -> u64
[src]
#[must_use]pub fn standard_v(&self) -> u8
[src]
#[must_use]pub fn chain_id(&self) -> Option<u64>
[src]
#[must_use]pub fn r(&self) -> &H256
[src]
#[must_use]pub fn s(&self) -> &H256
[src]
#[must_use]pub fn is_low_s(&self) -> bool
[src]
Trait Implementations
impl Clone for TransactionSignature
[src]
fn clone(&self) -> TransactionSignature
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TransactionSignature
[src]
impl Decode for TransactionSignature
[src]
impl<'de> Deserialize<'de> for TransactionSignature
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Encode for TransactionSignature
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
pub fn encode_to<T>(&self, dest: &mut T) where
T: Output,
[src]
T: Output,
pub fn encode(&self) -> Vec<u8, Global>
[src]
impl Eq for TransactionSignature
[src]
impl PartialEq<TransactionSignature> for TransactionSignature
[src]
fn eq(&self, other: &TransactionSignature) -> bool
[src]
fn ne(&self, other: &TransactionSignature) -> bool
[src]
impl Serialize for TransactionSignature
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for TransactionSignature
[src]
impl StructuralPartialEq for TransactionSignature
[src]
Auto Trait Implementations
impl RefUnwindSafe for TransactionSignature
impl Send for TransactionSignature
impl Sync for TransactionSignature
impl Unpin for TransactionSignature
impl UnwindSafe for TransactionSignature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<S> Codec for S where
S: Decode + Encode,
[src]
S: Decode + Encode,
impl<T> DecodeAll for T where
T: Decode,
[src]
T: Decode,
impl<T> DecodeLimit for T where
T: Decode,
[src]
T: Decode,
pub fn decode_all_with_depth_limit(limit: u32, input: &[u8]) -> Result<T, Error>
[src]
pub fn decode_with_depth_limit(limit: u32, input: &[u8]) -> Result<T, Error>
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<'a, T> EncodeLike<Cow<'a, T>> for T where
T: ToOwned + Encode,
[src]
T: ToOwned + Encode,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> KeyedVec for T where
T: Codec,
[src]
T: Codec,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,