pub struct ActivityStatus {
pub activity: u8,
pub text: String,
pub parent: Option<ActivityId>,
pub phase: Option<String>,
pub progress: Option<ActivityProgress>,
}Expand description
Activity status tracking
Fields§
§activity: u8§text: String§parent: Option<ActivityId>§phase: Option<String>§progress: Option<ActivityProgress>Trait Implementations§
Source§impl Clone for ActivityStatus
impl Clone for ActivityStatus
Source§fn clone(&self) -> ActivityStatus
fn clone(&self) -> ActivityStatus
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 moreAuto Trait Implementations§
impl Freeze for ActivityStatus
impl RefUnwindSafe for ActivityStatus
impl Send for ActivityStatus
impl Sync for ActivityStatus
impl Unpin for ActivityStatus
impl UnsafeUnpin for ActivityStatus
impl UnwindSafe for ActivityStatus
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