pub struct CompositeSignature {
pub components: Vec<ComponentSignature>,
}Expand description
A composite signature — multiple components over the same message.
Fields§
§components: Vec<ComponentSignature>Component signatures.
Implementations§
Source§impl CompositeSignature
impl CompositeSignature
Sourcepub fn new(components: Vec<ComponentSignature>) -> Self
pub fn new(components: Vec<ComponentSignature>) -> Self
Build a composite from components.
Sourcepub fn component_count(&self) -> usize
pub fn component_count(&self) -> usize
Number of components.
Sourcepub fn algorithms(&self) -> Vec<&str>
pub fn algorithms(&self) -> Vec<&str>
List the algorithm identifiers.
Trait Implementations§
Source§impl Clone for CompositeSignature
impl Clone for CompositeSignature
Source§fn clone(&self) -> CompositeSignature
fn clone(&self) -> CompositeSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompositeSignature
impl Debug for CompositeSignature
Source§impl<'de> Deserialize<'de> for CompositeSignature
impl<'de> Deserialize<'de> for CompositeSignature
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CompositeSignature
impl RefUnwindSafe for CompositeSignature
impl Send for CompositeSignature
impl Sync for CompositeSignature
impl Unpin for CompositeSignature
impl UnsafeUnpin for CompositeSignature
impl UnwindSafe for CompositeSignature
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