pub struct Hook {
pub active: Option<bool>,
pub authorization_header: Option<String>,
pub branch_filter: Option<String>,
pub config: Option<HashMap<String, String>>,
pub created_at: Option<String>,
pub events: Option<Vec<String>>,
pub id: Option<i64>,
pub type: Option<String>,
pub updated_at: Option<String>,
}
Expand description
Hook : Hook a hook is a web hook when one repository changed
Fields§
§active: Option<bool>
§branch_filter: Option<String>
§config: Option<HashMap<String, String>>
§created_at: Option<String>
§events: Option<Vec<String>>
§id: Option<i64>
§type: Option<String>
§updated_at: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hook
impl<'de> Deserialize<'de> for Hook
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
impl StructuralPartialEq for Hook
Auto Trait Implementations§
impl Freeze for Hook
impl RefUnwindSafe for Hook
impl Send for Hook
impl Sync for Hook
impl Unpin for Hook
impl UnwindSafe for Hook
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