pub struct GovernanceSigningKey {
pub algorithm: String,
pub public_key: PublicKeyHex,
pub envelope_version: u32,
}Expand description
The platform’s governance signing key, as GET /api/governance/signing-key publishes it
Fields§
§algorithm: StringAlways "ed25519"
public_key: PublicKeyHex§envelope_version: u32The envelope version entries are currently signed under
Implementations§
Source§impl GovernanceSigningKey
impl GovernanceSigningKey
Sourcepub fn new(key: &VerifyingKey) -> Self
pub fn new(key: &VerifyingKey) -> Self
The published form of key
Trait Implementations§
Source§impl Clone for GovernanceSigningKey
impl Clone for GovernanceSigningKey
Source§impl Debug for GovernanceSigningKey
impl Debug for GovernanceSigningKey
Source§impl<'de> Deserialize<'de> for GovernanceSigningKey
impl<'de> Deserialize<'de> for GovernanceSigningKey
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
impl Eq for GovernanceSigningKey
Source§impl PartialEq for GovernanceSigningKey
impl PartialEq for GovernanceSigningKey
Source§impl Serialize for GovernanceSigningKey
impl Serialize for GovernanceSigningKey
impl StructuralPartialEq for GovernanceSigningKey
Auto Trait Implementations§
impl Freeze for GovernanceSigningKey
impl RefUnwindSafe for GovernanceSigningKey
impl Send for GovernanceSigningKey
impl Sync for GovernanceSigningKey
impl Unpin for GovernanceSigningKey
impl UnsafeUnpin for GovernanceSigningKey
impl UnwindSafe for GovernanceSigningKey
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