pub struct SendResponseModel {Show 17 fields
pub object: Option<String>,
pub id: Option<String>,
pub access_id: Option<String>,
pub _type: Option<SendType>,
pub name: Option<String>,
pub notes: Option<String>,
pub file: Option<Box<SendFileModel>>,
pub text: Option<Box<SendTextModel>>,
pub key: Option<String>,
pub max_access_count: Option<i32>,
pub access_count: Option<i32>,
pub password: Option<String>,
pub disabled: Option<bool>,
pub revision_date: Option<String>,
pub expiration_date: Option<String>,
pub deletion_date: Option<String>,
pub hide_email: Option<bool>,
}
Fields§
§object: Option<String>
§id: Option<String>
§access_id: Option<String>
§_type: Option<SendType>
§name: Option<String>
§notes: Option<String>
§file: Option<Box<SendFileModel>>
§text: Option<Box<SendTextModel>>
§key: Option<String>
§max_access_count: Option<i32>
§access_count: Option<i32>
§password: Option<String>
§disabled: Option<bool>
§revision_date: Option<String>
§expiration_date: Option<String>
§deletion_date: Option<String>
§hide_email: Option<bool>
Implementations§
source§impl SendResponseModel
impl SendResponseModel
pub fn new() -> SendResponseModel
Trait Implementations§
source§impl Clone for SendResponseModel
impl Clone for SendResponseModel
source§fn clone(&self) -> SendResponseModel
fn clone(&self) -> SendResponseModel
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 SendResponseModel
impl Debug for SendResponseModel
source§impl Default for SendResponseModel
impl Default for SendResponseModel
source§fn default() -> SendResponseModel
fn default() -> SendResponseModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SendResponseModel
impl<'de> Deserialize<'de> for SendResponseModel
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<SendResponseModel> for SendResponseModel
impl PartialEq<SendResponseModel> for SendResponseModel
source§fn eq(&self, other: &SendResponseModel) -> bool
fn eq(&self, other: &SendResponseModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.