Struct gitlab::types::CommitNote [−][src]
pub struct CommitNote {
pub note: String,
pub path: Option<String>,
pub line: Option<u64>,
pub line_type: Option<LineType>,
pub author: UserBasic,
pub created_at: DateTime<Utc>,
}Expand description
A note on a commit diff.
Fields
note: StringThe content of the note.
path: Option<String>The path of the file commented on.
line: Option<u64>The line of the file commented on.
line_type: Option<LineType>The type of the line commented on.
The author of the note.
created_at: DateTime<Utc>When the note was created.
Trait Implementations
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 RefUnwindSafe for CommitNoteimpl Send for CommitNoteimpl Sync for CommitNoteimpl Unpin for CommitNoteimpl UnwindSafe for CommitNoteBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more