pub struct SignGpg {
pub display_id: Option<String>,
pub item_id: Option<i64>,
pub json: Option<bool>,
pub key_name: String,
pub message: String,
pub passphrase: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§display_id: Option<String>The display id of the key to use in the encryption process
item_id: Option<i64>The item id of the key to use in the encryption process
json: Option<bool>Set output format to JSON
key_name: StringThe name of the key to use in the encryption process
message: StringThe message to be signed in base64 format
passphrase: Option<String>Passphrase that was used to generate the key
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignGpg
impl<'de> Deserialize<'de> for SignGpg
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 StructuralPartialEq for SignGpg
Auto Trait Implementations§
impl Freeze for SignGpg
impl RefUnwindSafe for SignGpg
impl Send for SignGpg
impl Sync for SignGpg
impl Unpin for SignGpg
impl UnsafeUnpin for SignGpg
impl UnwindSafe for SignGpg
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