pub struct CreateWebhook<'a> {
pub url: &'a str,
pub password: Option<&'a str>,
pub push_events: bool,
pub tag_push_events: bool,
pub issues_events: bool,
pub merge_requests_events: bool,
pub note_events: bool,
}Fields§
§url: &'a str§password: Option<&'a str>§push_events: bool§tag_push_events: bool§issues_events: bool§merge_requests_events: bool§note_events: boolAuto Trait Implementations§
impl<'a> Freeze for CreateWebhook<'a>
impl<'a> RefUnwindSafe for CreateWebhook<'a>
impl<'a> Send for CreateWebhook<'a>
impl<'a> Sync for CreateWebhook<'a>
impl<'a> Unpin for CreateWebhook<'a>
impl<'a> UnsafeUnpin for CreateWebhook<'a>
impl<'a> UnwindSafe for CreateWebhook<'a>
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