pub struct SignerOptions {
pub private_key: String,
pub identity: String,
}Expand description
Contains necessary information to sign the data
Fields§
§private_key: StringReference to the private key, will be forwarded to external signer if available
identity: StringDID of the identity
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignerOptions
impl<'de> Deserialize<'de> for SignerOptions
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 SignerOptions
impl RefUnwindSafe for SignerOptions
impl Send for SignerOptions
impl Sync for SignerOptions
impl Unpin for SignerOptions
impl UnwindSafe for SignerOptions
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