[−][src]Struct stellar_base::signature::SignatureHint
Last 4 bytes of a public key.
Implementations
impl SignatureHint
[src]
pub fn from_public_key(pk: &PublicKey) -> SignatureHint
[src]
Creates a SignatureHint
with the last 4 bytes of the public key pk
.
pub fn from_slice(buf: &[u8]) -> Result<SignatureHint>
[src]
Creates a SignatureHint
from the byte slice.
pub fn to_vec(&self) -> Vec<u8>
[src]
Converts to Vec<u8>
.
pub fn to_xdr(&self) -> Result<SignatureHint>
[src]
Returns xdr object.
pub fn from_xdr(x: &SignatureHint) -> Result<SignatureHint>
[src]
Creates from xdr object.
Trait Implementations
impl Clone for SignatureHint
[src]
fn clone(&self) -> SignatureHint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SignatureHint
[src]
impl Eq for SignatureHint
[src]
impl PartialEq<SignatureHint> for SignatureHint
[src]
fn eq(&self, other: &SignatureHint) -> bool
[src]
fn ne(&self, other: &SignatureHint) -> bool
[src]
impl StructuralEq for SignatureHint
[src]
impl StructuralPartialEq for SignatureHint
[src]
Auto Trait Implementations
impl RefUnwindSafe for SignatureHint
impl Send for SignatureHint
impl Sync for SignatureHint
impl Unpin for SignatureHint
impl UnwindSafe for SignatureHint
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,