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: String
The 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 CommitNote
impl Send for CommitNote
impl Sync for CommitNote
impl Unpin for CommitNote
impl UnwindSafe for CommitNote
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more