pub struct WireEntryView {
pub entry: WireEntry,
pub tool: Option<WireToolDisplay>,
pub diff_lines: Option<Vec<WireDiffLine>>,
}Expand description
Server-computed display model that rides beside an entry.
Fields§
§entry: WireEntry§tool: Option<WireToolDisplay>For Tool entries: hrdr_agent::tool_display(name, args), converted.
diff_lines: Option<Vec<WireDiffLine>>For Diff entries AND Tool entries whose body is Diff: each line of the
diff text classified by hrdr_app::classify_diff_line.
Trait Implementations§
Source§impl Clone for WireEntryView
impl Clone for WireEntryView
Source§fn clone(&self) -> WireEntryView
fn clone(&self) -> WireEntryView
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 moreSource§impl Debug for WireEntryView
impl Debug for WireEntryView
Source§impl<'de> Deserialize<'de> for WireEntryView
impl<'de> Deserialize<'de> for WireEntryView
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
Source§impl PartialEq for WireEntryView
impl PartialEq for WireEntryView
Source§impl Serialize for WireEntryView
impl Serialize for WireEntryView
impl StructuralPartialEq for WireEntryView
Auto Trait Implementations§
impl Freeze for WireEntryView
impl RefUnwindSafe for WireEntryView
impl Send for WireEntryView
impl Sync for WireEntryView
impl Unpin for WireEntryView
impl UnsafeUnpin for WireEntryView
impl UnwindSafe for WireEntryView
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