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