pub struct ActivityUpdate {
pub summary: Option<String>,
pub clear_summary: bool,
pub state: Option<ActivityStateValue>,
pub clear_state: bool,
pub cwd: Option<String>,
pub clear_cwd: bool,
}Fields§
§summary: Option<String>§clear_summary: bool§state: Option<ActivityStateValue>§clear_state: bool§cwd: Option<String>§clear_cwd: boolTrait Implementations§
Source§impl Clone for ActivityUpdate
impl Clone for ActivityUpdate
Source§fn clone(&self) -> ActivityUpdate
fn clone(&self) -> ActivityUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActivityUpdate
impl RefUnwindSafe for ActivityUpdate
impl Send for ActivityUpdate
impl Sync for ActivityUpdate
impl Unpin for ActivityUpdate
impl UnsafeUnpin for ActivityUpdate
impl UnwindSafe for ActivityUpdate
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