pub struct CodeComment {
pub path: String,
pub line_new: Option<i64>,
pub line_old: Option<i64>,
pub outdated: Option<bool>,
pub source_sha: Option<String>,
}Expand description
Where a code comment is anchored.
Fields§
§path: String§line_new: Option<i64>§line_old: Option<i64>§outdated: Option<bool>§source_sha: Option<String>Trait Implementations§
Source§impl Clone for CodeComment
impl Clone for CodeComment
Source§impl Debug for CodeComment
impl Debug for CodeComment
Source§impl Default for CodeComment
impl Default for CodeComment
Source§impl<'de> Deserialize<'de> for CodeComment
impl<'de> Deserialize<'de> for CodeComment
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 Forget for CodeComment
impl Freeze for CodeComment
impl RefUnwindSafe for CodeComment
impl Send for CodeComment
impl Sync for CodeComment
impl Unpin for CodeComment
impl UnsafeUnpin for CodeComment
impl UnwindSafe for CodeComment
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