Struct gitlab::types::Note [] [src]

pub struct Note {
    pub id: NoteId,
    pub body: String,
    pub attachment: Option<String>,
    pub author: UserBasic,
    pub created_at: DateTime<UTC>,
    pub updated_at: DateTime<UTC>,
    pub system: bool,
    pub noteable_type: NoteType,
    pub upvote: bool,
    pub downvote: bool,
    // some fields omitted
}

A comment on an entity.

Fields

The ID of the note.

The content of the note.

The URL of an attachment to the note.

The author of the note.

When the note was created.

When the note was last updated.

Whether the note was created by a user or in response to an external action.

System notes include indications that the commit, issue, etc. was referenced elsewhere, a milestone, assignee, or label change, status chages, and so on.

The type of entity the note is attached to.

Whether the note is an upvote for the entity or not.

Whether the note is a downvote for the entity or not.

Methods

impl Note
[src]

The ID of the entity the note is attached to.

Trait Implementations

impl Debug for Note
[src]

Formats the value using the given formatter.

impl Clone for Note
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more