pub struct RecoveryInfo { /* private fields */ }
Implementations§
Source§impl RecoveryInfo
impl RecoveryInfo
pub fn new( is_y_odd: bool, is_x_reduced: bool, is_pubkey_compressed: bool, ) -> RecoveryInfo
pub fn from_byte(recovery_byte: u8, is_pubkey_compressed: bool) -> RecoveryInfo
pub fn default() -> RecoveryInfo
Trait Implementations§
Source§impl Clone for RecoveryInfo
impl Clone for RecoveryInfo
Source§fn clone(&self) -> RecoveryInfo
fn clone(&self) -> RecoveryInfo
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 RecoveryInfo
impl Debug for RecoveryInfo
Source§impl PartialEq for RecoveryInfo
impl PartialEq for RecoveryInfo
impl Eq for RecoveryInfo
impl StructuralPartialEq for RecoveryInfo
Auto Trait Implementations§
impl Freeze for RecoveryInfo
impl RefUnwindSafe for RecoveryInfo
impl Send for RecoveryInfo
impl Sync for RecoveryInfo
impl Unpin for RecoveryInfo
impl UnwindSafe for RecoveryInfo
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