pub struct SendRequestModel {Show 13 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>,
}
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>
Implementations§
Trait Implementations§
source§impl Clone for SendRequestModel
impl Clone for SendRequestModel
source§fn clone(&self) -> SendRequestModel
fn clone(&self) -> SendRequestModel
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 SendRequestModel
impl Debug for SendRequestModel
source§impl Default for SendRequestModel
impl Default for SendRequestModel
source§fn default() -> SendRequestModel
fn default() -> SendRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SendRequestModel
impl<'de> Deserialize<'de> for SendRequestModel
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<SendRequestModel> for SendRequestModel
impl PartialEq<SendRequestModel> for SendRequestModel
source§fn eq(&self, other: &SendRequestModel) -> bool
fn eq(&self, other: &SendRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.