Struct gitlab::webhooks::WikiPageHookAttrs
source · pub struct WikiPageHookAttrs {
pub title: String,
pub content: String,
pub format: String,
pub message: String,
pub slug: String,
pub url: String,
pub action: WikiPageAction,
}
Expand description
Wiki information exposed in hooks.
Fields§
§title: String
The title of the wiki page.
content: String
The content of the wiki page.
format: String
§message: String
§slug: String
The slug of the wiki page.
url: String
The URL of the wiki page.
action: WikiPageAction
The type of action which caused the hook.
Trait Implementations§
source§impl Clone for WikiPageHookAttrs
impl Clone for WikiPageHookAttrs
source§fn clone(&self) -> WikiPageHookAttrs
fn clone(&self) -> WikiPageHookAttrs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WikiPageHookAttrs
impl Debug for WikiPageHookAttrs
source§impl<'de> Deserialize<'de> for WikiPageHookAttrs
impl<'de> Deserialize<'de> for WikiPageHookAttrs
source§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 Freeze for WikiPageHookAttrs
impl RefUnwindSafe for WikiPageHookAttrs
impl Send for WikiPageHookAttrs
impl Sync for WikiPageHookAttrs
impl Unpin for WikiPageHookAttrs
impl UnwindSafe for WikiPageHookAttrs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more