pub struct DiscoveryReadPage {
pub text: String,
pub start_line: usize,
pub end_line: usize,
pub total_lines: usize,
pub truncated: bool,
}Fields§
§text: String§start_line: usize§end_line: usize§total_lines: usize§truncated: boolTrait Implementations§
Source§impl Clone for DiscoveryReadPage
impl Clone for DiscoveryReadPage
Source§fn clone(&self) -> DiscoveryReadPage
fn clone(&self) -> DiscoveryReadPage
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 DiscoveryReadPage
impl Debug for DiscoveryReadPage
Source§impl<'de> Deserialize<'de> for DiscoveryReadPage
impl<'de> Deserialize<'de> for DiscoveryReadPage
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 DiscoveryReadPage
impl RefUnwindSafe for DiscoveryReadPage
impl Send for DiscoveryReadPage
impl Sync for DiscoveryReadPage
impl Unpin for DiscoveryReadPage
impl UnsafeUnpin for DiscoveryReadPage
impl UnwindSafe for DiscoveryReadPage
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