pub struct ShowResult {
pub path: String,
pub start_line: u32,
pub end_line: u32,
pub content: String,
pub symbol: Option<String>,
pub truncated: bool,
pub total_lines: Option<u32>,
}Fields§
§path: String§start_line: u32§end_line: u32§content: String§symbol: Option<String>§truncated: bool§total_lines: Option<u32>Trait Implementations§
Source§impl Clone for ShowResult
impl Clone for ShowResult
Source§fn clone(&self) -> ShowResult
fn clone(&self) -> ShowResult
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 ShowResult
impl Debug for ShowResult
Source§impl<'de> Deserialize<'de> for ShowResult
impl<'de> Deserialize<'de> for ShowResult
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
Auto Trait Implementations§
impl Freeze for ShowResult
impl RefUnwindSafe for ShowResult
impl Send for ShowResult
impl Sync for ShowResult
impl Unpin for ShowResult
impl UnsafeUnpin for ShowResult
impl UnwindSafe for ShowResult
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