pub struct EuvUploadFile {
pub name: &'static str,
pub size: &'static str,
pub status: EuvUploadStatus,
}Expand description
One row of the euv_upload file list.
The view never touches the DOM File object: the caller turns each picked
file into a name / size / status triple, so the list is driven by plain
data and the row is reproducible from these fields alone.
Fields§
§name: &'static strThe display name of the file.
size: &'static strThe pre-formatted size label (e.g. "1.2 MB").
status: EuvUploadStatusThe transfer state driving the status badge.
Implementations§
Source§impl EuvUploadFile
impl EuvUploadFile
pub fn get_name(&self) -> &'static str
pub fn get_mut_name(&mut self) -> &mut &'static str
pub fn set_name(&mut self, val: &'static str) -> &mut Self
pub fn get_size(&self) -> &'static str
pub fn get_mut_size(&mut self) -> &mut &'static str
pub fn set_size(&mut self, val: &'static str) -> &mut Self
pub fn get_status(&self) -> EuvUploadStatus
pub fn get_mut_status(&mut self) -> &mut EuvUploadStatus
pub fn set_status(&mut self, val: EuvUploadStatus) -> &mut Self
Source§impl EuvUploadFile
impl EuvUploadFile
pub fn new( name: &'static str, size: &'static str, status: EuvUploadStatus, ) -> Self
Trait Implementations§
Source§impl Clone for EuvUploadFile
impl Clone for EuvUploadFile
impl Copy for EuvUploadFile
Source§impl Debug for EuvUploadFile
impl Debug for EuvUploadFile
Source§impl Default for EuvUploadFile
impl Default for EuvUploadFile
Source§impl PartialEq for EuvUploadFile
impl PartialEq for EuvUploadFile
impl StructuralPartialEq for EuvUploadFile
Auto Trait Implementations§
impl Freeze for EuvUploadFile
impl RefUnwindSafe for EuvUploadFile
impl Send for EuvUploadFile
impl Sync for EuvUploadFile
impl Unpin for EuvUploadFile
impl UnsafeUnpin for EuvUploadFile
impl UnwindSafe for EuvUploadFile
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