pub struct DisplayFile {
pub name: String,
pub symbol: String,
pub description: String,
pub status: String,
pub status_label: String,
pub handler: String,
pub note_ref: Option<u32>,
}Expand description
A file entry for pack status display.
Fields§
§name: String§symbol: String§description: String§status: String§status_label: String§handler: String§note_ref: Option<u32>1-based index into PackStatusResult.notes. Some(N) means the
row has a command-wide error/note attached; the template renders
[N] next to the status label and the body appears in the notes
section at the bottom of the output. Indices are assigned at
assembly time and are stable within a single command invocation.
Trait Implementations§
Source§impl Clone for DisplayFile
impl Clone for DisplayFile
Source§fn clone(&self) -> DisplayFile
fn clone(&self) -> DisplayFile
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 DisplayFile
impl Debug for DisplayFile
Auto Trait Implementations§
impl Freeze for DisplayFile
impl RefUnwindSafe for DisplayFile
impl Send for DisplayFile
impl Sync for DisplayFile
impl Unpin for DisplayFile
impl UnsafeUnpin for DisplayFile
impl UnwindSafe for DisplayFile
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