pub struct ArtifactReadPage {
pub artifact: ContextArtifactDescriptor,
pub text: String,
pub start_line: usize,
pub limit: usize,
pub shown: usize,
pub total_lines: usize,
pub next_start_line: Option<usize>,
pub truncated: bool,
}Fields§
§artifact: ContextArtifactDescriptor§text: String§start_line: usize§limit: usize§shown: usize§total_lines: usize§next_start_line: Option<usize>§truncated: boolTrait Implementations§
Source§impl Clone for ArtifactReadPage
impl Clone for ArtifactReadPage
Source§fn clone(&self) -> ArtifactReadPage
fn clone(&self) -> ArtifactReadPage
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 ArtifactReadPage
impl Debug for ArtifactReadPage
Source§impl<'de> Deserialize<'de> for ArtifactReadPage
impl<'de> Deserialize<'de> for ArtifactReadPage
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
impl Eq for ArtifactReadPage
Source§impl PartialEq for ArtifactReadPage
impl PartialEq for ArtifactReadPage
Source§fn eq(&self, other: &ArtifactReadPage) -> bool
fn eq(&self, other: &ArtifactReadPage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ArtifactReadPage
impl Serialize for ArtifactReadPage
impl StructuralPartialEq for ArtifactReadPage
Auto Trait Implementations§
impl Freeze for ArtifactReadPage
impl RefUnwindSafe for ArtifactReadPage
impl Send for ArtifactReadPage
impl Sync for ArtifactReadPage
impl Unpin for ArtifactReadPage
impl UnsafeUnpin for ArtifactReadPage
impl UnwindSafe for ArtifactReadPage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.