pub struct Signature { /* private fields */ }Expand description
Redacted signature fields produced by an outbound signer.
Implementations§
Source§impl Signature
impl Signature
Sourcepub fn new(fields: Vec<(CheetahString, Secret<CheetahString>)>) -> Self
pub fn new(fields: Vec<(CheetahString, Secret<CheetahString>)>) -> Self
Creates a new Signature.
Sourcepub fn fields(&self) -> &[(CheetahString, Secret<CheetahString>)]
pub fn fields(&self) -> &[(CheetahString, Secret<CheetahString>)]
Returns the fields.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnsafeUnpin for Signature
impl UnwindSafe for Signature
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