[−][src]Struct stellar_base::signature::DecoratedSignature
A Signature
together with the last 4 bytes of the public key.
Implementations
impl DecoratedSignature
[src]
pub fn new(hint: SignatureHint, signature: Signature) -> DecoratedSignature
[src]
Creates a new DecoratedSignature
with hint
and signature
.
pub fn new_from_preimage(preimage: &[u8]) -> Result<DecoratedSignature>
[src]
Creates a new DecoratedSignature
from the pre image.
pub fn hint(&self) -> &SignatureHint
[src]
Returns the decorated signature hint
.
pub fn hint_mut(&mut self) -> &mut SignatureHint
[src]
Returns a mutable reference to the decorated signature hint
.
pub fn signature(&self) -> &Signature
[src]
Returns the decorated signature signature
.
pub fn signature_mut(&mut self) -> &mut Signature
[src]
Returns a mutable reference to the decorated signature signature
.
pub fn to_xdr(&self) -> Result<DecoratedSignature>
[src]
Returns xdr object.
pub fn from_xdr(x: &DecoratedSignature) -> Result<DecoratedSignature>
[src]
Creates from xdr object.
Trait Implementations
impl Clone for DecoratedSignature
[src]
fn clone(&self) -> DecoratedSignature
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DecoratedSignature
[src]
impl Eq for DecoratedSignature
[src]
impl PartialEq<DecoratedSignature> for DecoratedSignature
[src]
fn eq(&self, other: &DecoratedSignature) -> bool
[src]
fn ne(&self, other: &DecoratedSignature) -> bool
[src]
impl StructuralEq for DecoratedSignature
[src]
impl StructuralPartialEq for DecoratedSignature
[src]
Auto Trait Implementations
impl RefUnwindSafe for DecoratedSignature
impl Send for DecoratedSignature
impl Sync for DecoratedSignature
impl Unpin for DecoratedSignature
impl UnwindSafe for DecoratedSignature
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>,