pub struct KeysRequestModel {
pub public_key: Option<String>,
pub encrypted_private_key: String,
}
Fields§
§public_key: Option<String>
§encrypted_private_key: String
Implementations§
Source§impl KeysRequestModel
impl KeysRequestModel
pub fn new(encrypted_private_key: String) -> KeysRequestModel
Trait Implementations§
Source§impl Clone for KeysRequestModel
impl Clone for KeysRequestModel
Source§fn clone(&self) -> KeysRequestModel
fn clone(&self) -> KeysRequestModel
Returns a copy of the value. Read more
1.0.0 · 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 KeysRequestModel
impl Debug for KeysRequestModel
Source§impl Default for KeysRequestModel
impl Default for KeysRequestModel
Source§fn default() -> KeysRequestModel
fn default() -> KeysRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeysRequestModel
impl<'de> Deserialize<'de> for KeysRequestModel
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
Source§impl PartialEq for KeysRequestModel
impl PartialEq for KeysRequestModel
Source§impl Serialize for KeysRequestModel
impl Serialize for KeysRequestModel
impl StructuralPartialEq for KeysRequestModel
Auto Trait Implementations§
impl Freeze for KeysRequestModel
impl RefUnwindSafe for KeysRequestModel
impl Send for KeysRequestModel
impl Sync for KeysRequestModel
impl Unpin for KeysRequestModel
impl UnwindSafe for KeysRequestModel
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