pub struct SignatureResult {
pub checksum: String,
pub signature: String,
pub public_key: String,
}Expand description
Result of signing a constitution file.
Fields§
§checksum: StringSHA-256 hex digest of the constitution content.
signature: StringBase64-encoded Ed25519 signature of the checksum.
public_key: StringBase64-encoded public key for verification.
Trait Implementations§
Source§impl Clone for SignatureResult
impl Clone for SignatureResult
Source§fn clone(&self) -> SignatureResult
fn clone(&self) -> SignatureResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SignatureResult
impl RefUnwindSafe for SignatureResult
impl Send for SignatureResult
impl Sync for SignatureResult
impl Unpin for SignatureResult
impl UnsafeUnpin for SignatureResult
impl UnwindSafe for SignatureResult
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