#[repr(C)]pub struct PublicKey { /* private fields */ }
Expand description
public key type
Implementations§
Source§impl PublicKey
impl PublicKey
Sourcepub fn deserialize(&mut self, buf: &[u8]) -> bool
pub fn deserialize(&mut self, buf: &[u8]) -> bool
return true if buf
is deserialized successfully
buf
- serialized data byserialize
Source§impl PublicKey
impl PublicKey
Sourcepub fn add_assign(&mut self, x: *const PublicKey)
pub fn add_assign(&mut self, x: *const PublicKey)
add x
to self
x
- signature to be added
Sourcepub fn is_valid_order(&self) -> bool
pub fn is_valid_order(&self) -> bool
return true if self
has the valid order
Trait Implementations§
impl Copy for PublicKey
impl Eq for PublicKey
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
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