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 resolvable: bool,
    pub resolved: Option<bool>,
    pub resolved_by: Option<UserBasic>,
    pub system: bool,
    pub noteable_type: NoteType,
    // 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 can be resolved.

Whether the note has been resolved.

The user that resolved the note.

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.

Methods

impl Note
[src]

[src]

The ID of the entity the note is attached to.

[src]

The internal ID of the entity the note is attached to (internal to a project). This is available only for notes attached to issues and merge requests.

Trait Implementations

impl Debug for Note
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Note
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Note

impl Sync for Note