pub struct AttachmentLineRange {
pub start: u32,
pub end: u32,
}Expand description
Line range for file attachments.
Fields§
§start: u32First line (1-based).
end: u32Last line (inclusive).
Trait Implementations§
Source§impl Clone for AttachmentLineRange
impl Clone for AttachmentLineRange
Source§fn clone(&self) -> AttachmentLineRange
fn clone(&self) -> AttachmentLineRange
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 AttachmentLineRange
impl Debug for AttachmentLineRange
Source§impl<'de> Deserialize<'de> for AttachmentLineRange
impl<'de> Deserialize<'de> for AttachmentLineRange
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 AttachmentLineRange
impl PartialEq for AttachmentLineRange
Source§fn eq(&self, other: &AttachmentLineRange) -> bool
fn eq(&self, other: &AttachmentLineRange) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttachmentLineRange
impl Serialize for AttachmentLineRange
impl Eq for AttachmentLineRange
impl StructuralPartialEq for AttachmentLineRange
Auto Trait Implementations§
impl Freeze for AttachmentLineRange
impl RefUnwindSafe for AttachmentLineRange
impl Send for AttachmentLineRange
impl Sync for AttachmentLineRange
impl Unpin for AttachmentLineRange
impl UnsafeUnpin for AttachmentLineRange
impl UnwindSafe for AttachmentLineRange
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