pub struct BodySnippet {
pub body: String,
pub total_lines: usize,
pub is_truncated: bool,
pub end_line: u32,
}Fields§
§body: String§total_lines: usize§is_truncated: bool§end_line: u32Trait Implementations§
Source§impl Debug for BodySnippet
impl Debug for BodySnippet
Source§impl<'de> Deserialize<'de> for BodySnippet
impl<'de> Deserialize<'de> for BodySnippet
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 BodySnippet
Source§impl PartialEq for BodySnippet
impl PartialEq for BodySnippet
Source§impl Serialize for BodySnippet
impl Serialize for BodySnippet
impl StructuralPartialEq for BodySnippet
Auto Trait Implementations§
impl Freeze for BodySnippet
impl RefUnwindSafe for BodySnippet
impl Send for BodySnippet
impl Sync for BodySnippet
impl Unpin for BodySnippet
impl UnsafeUnpin for BodySnippet
impl UnwindSafe for BodySnippet
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
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.