[−][src]Struct gitlab::webhooks::NoteHookAttrs
Note (comment) information exposed in hooks.
Fields
id: NoteIdThe ID of the note.
note: StringThe content of the note.
noteable_type: NoteTypeThe type of entity the note is attached to.
The author of the note.
created_at: HookDateWhen the note was created.
updated_at: HookDateWhen the note was last updated.
updated_by_id: Option<UserId>The ID of the user who last updated the note.
resolved_at: Option<HookDate>When the note was marked as resolved.
resolved_by_id: Option<UserId>The ID of the user who marked the note as resolved.
project_id: ProjectIdThe ID of the project.
attachment: Option<String>The URL of an attachment to the note.
line_code: Option<String>commit_id: Option<ObjectId>discussion_id: ObjectIdoriginal_discussion_id: Option<ObjectId>system: boolWhether the note was created by a user or in response to an external action.
st_diff: Option<DiffHookAttrs>url: StringThe URL of the note.
type_: Option<String>Implementations
impl NoteHookAttrs[src]
pub fn noteable_id(&self) -> Option<NoteableId>[src]
The ID of the object the note is for.
Trait Implementations
impl Clone for NoteHookAttrs[src]
fn clone(&self) -> NoteHookAttrs[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for NoteHookAttrs[src]
impl<'de> Deserialize<'de> for NoteHookAttrs[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for NoteHookAttrs[src]
Auto Trait Implementations
impl RefUnwindSafe for NoteHookAttrs
impl Send for NoteHookAttrs
impl Sync for NoteHookAttrs
impl Unpin for NoteHookAttrs
impl UnwindSafe for NoteHookAttrs
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,