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 for SendRequestModel
impl PartialEq for SendRequestModel
Source§impl Serialize for SendRequestModel
impl Serialize for SendRequestModel
impl StructuralPartialEq for SendRequestModel
Auto Trait Implementations§
impl Freeze for SendRequestModel
impl RefUnwindSafe for SendRequestModel
impl Send for SendRequestModel
impl Sync for SendRequestModel
impl Unpin for SendRequestModel
impl UnwindSafe for SendRequestModel
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