pub struct SendFileModel {
pub id: Option<String>,
pub file_name: Option<String>,
pub size: Option<i64>,
pub size_name: Option<String>,
}
Fields§
§id: Option<String>
§file_name: Option<String>
§size: Option<i64>
§size_name: Option<String>
Implementations§
Source§impl SendFileModel
impl SendFileModel
pub fn new() -> SendFileModel
Trait Implementations§
Source§impl Clone for SendFileModel
impl Clone for SendFileModel
Source§fn clone(&self) -> SendFileModel
fn clone(&self) -> SendFileModel
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 SendFileModel
impl Debug for SendFileModel
Source§impl Default for SendFileModel
impl Default for SendFileModel
Source§fn default() -> SendFileModel
fn default() -> SendFileModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendFileModel
impl<'de> Deserialize<'de> for SendFileModel
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 SendFileModel
impl PartialEq for SendFileModel
Source§impl Serialize for SendFileModel
impl Serialize for SendFileModel
impl StructuralPartialEq for SendFileModel
Auto Trait Implementations§
impl Freeze for SendFileModel
impl RefUnwindSafe for SendFileModel
impl Send for SendFileModel
impl Sync for SendFileModel
impl Unpin for SendFileModel
impl UnwindSafe for SendFileModel
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