pub struct SendResponseModel {Show 17 fields
pub object: Option<String>,
pub id: Option<Uuid>,
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<Uuid>
§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 for SendResponseModel
impl PartialEq for SendResponseModel
Source§impl Serialize for SendResponseModel
impl Serialize for SendResponseModel
impl StructuralPartialEq for SendResponseModel
Auto Trait Implementations§
impl Freeze for SendResponseModel
impl RefUnwindSafe for SendResponseModel
impl Send for SendResponseModel
impl Sync for SendResponseModel
impl Unpin for SendResponseModel
impl UnwindSafe for SendResponseModel
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