pub struct SendWithIdRequestModel {Show 14 fields
pub type: Option<SendType>,
pub file_length: Option<i64>,
pub name: Option<String>,
pub notes: Option<String>,
pub key: String,
pub max_access_count: Option<i32>,
pub expiration_date: Option<String>,
pub deletion_date: String,
pub file: Option<Box<SendFileModel>>,
pub text: Option<Box<SendTextModel>>,
pub password: Option<String>,
pub disabled: bool,
pub hide_email: Option<bool>,
pub id: Uuid,
}
Fields§
§type: Option<SendType>
§file_length: Option<i64>
§name: Option<String>
§notes: Option<String>
§key: String
§max_access_count: Option<i32>
§expiration_date: Option<String>
§deletion_date: String
§file: Option<Box<SendFileModel>>
§text: Option<Box<SendTextModel>>
§password: Option<String>
§disabled: bool
§hide_email: Option<bool>
§id: Uuid
Implementations§
Trait Implementations§
Source§impl Clone for SendWithIdRequestModel
impl Clone for SendWithIdRequestModel
Source§fn clone(&self) -> SendWithIdRequestModel
fn clone(&self) -> SendWithIdRequestModel
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 SendWithIdRequestModel
impl Debug for SendWithIdRequestModel
Source§impl Default for SendWithIdRequestModel
impl Default for SendWithIdRequestModel
Source§fn default() -> SendWithIdRequestModel
fn default() -> SendWithIdRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendWithIdRequestModel
impl<'de> Deserialize<'de> for SendWithIdRequestModel
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 SendWithIdRequestModel
impl PartialEq for SendWithIdRequestModel
Source§impl Serialize for SendWithIdRequestModel
impl Serialize for SendWithIdRequestModel
impl StructuralPartialEq for SendWithIdRequestModel
Auto Trait Implementations§
impl Freeze for SendWithIdRequestModel
impl RefUnwindSafe for SendWithIdRequestModel
impl Send for SendWithIdRequestModel
impl Sync for SendWithIdRequestModel
impl Unpin for SendWithIdRequestModel
impl UnwindSafe for SendWithIdRequestModel
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