pub struct PolicySignatureRecord {
pub policy_id: String,
pub signer_pubkey_hex: String,
pub signature: String,
pub signed_at: String,
}Expand description
The signature envelope over a SEALED policy: the one governance act.
Signatures are Ed25519 over policy_signature_preimage, which binds both
the sealed policy and signed_at. Every other signature preimage is rejected.
Fields§
§policy_id: String§signer_pubkey_hex: String§signature: String§signed_at: StringTrait Implementations§
Source§impl Clone for PolicySignatureRecord
impl Clone for PolicySignatureRecord
Source§fn clone(&self) -> PolicySignatureRecord
fn clone(&self) -> PolicySignatureRecord
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 PolicySignatureRecord
impl Debug for PolicySignatureRecord
Source§impl<'de> Deserialize<'de> for PolicySignatureRecord
impl<'de> Deserialize<'de> for PolicySignatureRecord
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 PolicySignatureRecord
impl RefUnwindSafe for PolicySignatureRecord
impl Send for PolicySignatureRecord
impl Sync for PolicySignatureRecord
impl Unpin for PolicySignatureRecord
impl UnsafeUnpin for PolicySignatureRecord
impl UnwindSafe for PolicySignatureRecord
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