pub struct ReportFile {
pub id: Option<String>,
pub file_name: Option<String>,
pub size: Option<i64>,
pub validated: Option<bool>,
}Fields§
§id: Option<String>Uniquely identifies an uploaded file.
file_name: Option<String>Attached file name.
size: Option<i64>Size of the attached file in bytes.
validated: Option<bool>When true the uploaded file’s length has been validated.
Implementations§
Source§impl ReportFile
impl ReportFile
pub fn new() -> ReportFile
Trait Implementations§
Source§impl Clone for ReportFile
impl Clone for ReportFile
Source§fn clone(&self) -> ReportFile
fn clone(&self) -> ReportFile
Returns a duplicate 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 ReportFile
impl Debug for ReportFile
Source§impl Default for ReportFile
impl Default for ReportFile
Source§fn default() -> ReportFile
fn default() -> ReportFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReportFile
impl<'de> Deserialize<'de> for ReportFile
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 ReportFile
impl PartialEq for ReportFile
Source§impl Serialize for ReportFile
impl Serialize for ReportFile
impl StructuralPartialEq for ReportFile
Auto Trait Implementations§
impl Freeze for ReportFile
impl RefUnwindSafe for ReportFile
impl Send for ReportFile
impl Sync for ReportFile
impl Unpin for ReportFile
impl UnsafeUnpin for ReportFile
impl UnwindSafe for ReportFile
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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