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: String,
}
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: String
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<SendWithIdRequestModel> for SendWithIdRequestModel
impl PartialEq<SendWithIdRequestModel> for SendWithIdRequestModel
source§fn eq(&self, other: &SendWithIdRequestModel) -> bool
fn eq(&self, other: &SendWithIdRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.