pub struct SignRequest {
pub key_id: String,
pub message: SecretString,
}Expand description
POST /v2/sign (Ed25519) and the ML-DSA and SLH-DSA sign calls: signs
the UTF-8 bytes of message with a server-held key.
Fields§
§key_id: StringThe key’s identifier.
message: SecretStringThe text to sign.
Trait Implementations§
Source§impl Clone for SignRequest
impl Clone for SignRequest
Source§impl Debug for SignRequest
impl Debug for SignRequest
Source§impl Default for SignRequest
impl Default for SignRequest
Source§impl<'de> Deserialize<'de> for SignRequest
impl<'de> Deserialize<'de> for SignRequest
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 Forget for SignRequest
impl Freeze for SignRequest
impl Move for SignRequest
impl RefUnwindSafe for SignRequest
impl Send for SignRequest
impl Sync for SignRequest
impl Unpin for SignRequest
impl UnsafeUnpin for SignRequest
impl UnwindSafe for SignRequest
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