pub struct UpdateKeyRequestModel {
pub master_password_hash: String,
pub ciphers: Vec<CipherWithIdRequestModel>,
pub folders: Vec<FolderWithIdRequestModel>,
pub sends: Option<Vec<SendWithIdRequestModel>>,
pub private_key: String,
pub key: String,
}
Fields§
§master_password_hash: String
§ciphers: Vec<CipherWithIdRequestModel>
§folders: Vec<FolderWithIdRequestModel>
§sends: Option<Vec<SendWithIdRequestModel>>
§private_key: String
§key: String
Implementations§
source§impl UpdateKeyRequestModel
impl UpdateKeyRequestModel
pub fn new( master_password_hash: String, ciphers: Vec<CipherWithIdRequestModel>, folders: Vec<FolderWithIdRequestModel>, private_key: String, key: String ) -> UpdateKeyRequestModel
Trait Implementations§
source§impl Clone for UpdateKeyRequestModel
impl Clone for UpdateKeyRequestModel
source§fn clone(&self) -> UpdateKeyRequestModel
fn clone(&self) -> UpdateKeyRequestModel
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 UpdateKeyRequestModel
impl Debug for UpdateKeyRequestModel
source§impl Default for UpdateKeyRequestModel
impl Default for UpdateKeyRequestModel
source§fn default() -> UpdateKeyRequestModel
fn default() -> UpdateKeyRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateKeyRequestModel
impl<'de> Deserialize<'de> for UpdateKeyRequestModel
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<UpdateKeyRequestModel> for UpdateKeyRequestModel
impl PartialEq<UpdateKeyRequestModel> for UpdateKeyRequestModel
source§fn eq(&self, other: &UpdateKeyRequestModel) -> bool
fn eq(&self, other: &UpdateKeyRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UpdateKeyRequestModel
impl Serialize for UpdateKeyRequestModel
impl StructuralPartialEq for UpdateKeyRequestModel
Auto Trait Implementations§
impl RefUnwindSafe for UpdateKeyRequestModel
impl Send for UpdateKeyRequestModel
impl Sync for UpdateKeyRequestModel
impl Unpin for UpdateKeyRequestModel
impl UnwindSafe for UpdateKeyRequestModel
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