pub struct ProgressBarState {
pub status: Option<ProgressBarStatus>,
pub progress: Option<u64>,
pub desktop_filename: Option<String>,
}
Expand description
Progress Bar State
Fields§
§status: Option<ProgressBarStatus>
The progress bar status.
progress: Option<u64>
The progress bar progress. This can be a value ranging from 0
to 100
desktop_filename: Option<String>
The .desktop
filename with the Unity desktop window manager, for example myapp.desktop
Linux Only
Trait Implementations§
Source§impl Debug for ProgressBarState
impl Debug for ProgressBarState
Source§impl<'de> Deserialize<'de> for ProgressBarState
impl<'de> Deserialize<'de> for ProgressBarState
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
Auto Trait Implementations§
impl Freeze for ProgressBarState
impl RefUnwindSafe for ProgressBarState
impl Send for ProgressBarState
impl Sync for ProgressBarState
impl Unpin for ProgressBarState
impl UnwindSafe for ProgressBarState
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