pub struct DisplayNote {
pub body: String,
pub hint: Option<String>,
}Expand description
A command-wide note (error / inline conflict) referenced by
DisplayFile.note_ref. Indices into PackStatusResult.notes are
1-based; position in the vec matches the [N] shown inline.
Fields§
§body: String§hint: Option<String>Trait Implementations§
Source§impl Clone for DisplayNote
impl Clone for DisplayNote
Source§fn clone(&self) -> DisplayNote
fn clone(&self) -> DisplayNote
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 DisplayNote
impl Debug for DisplayNote
Auto Trait Implementations§
impl Freeze for DisplayNote
impl RefUnwindSafe for DisplayNote
impl Send for DisplayNote
impl Sync for DisplayNote
impl Unpin for DisplayNote
impl UnsafeUnpin for DisplayNote
impl UnwindSafe for DisplayNote
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