Struct hubcaps::hooks::HookCreateOptionsBuilder [−][src]
pub struct HookCreateOptionsBuilder(_);
Methods
impl HookCreateOptionsBuilder
[src]
impl HookCreateOptionsBuilder
ⓘImportant traits for &'a mut Rpub fn active(&mut self, active: bool) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn active(&mut self, active: bool) -> &mut Self
ⓘImportant traits for &'a mut Rpub fn events<E>(&mut self, events: Vec<E>) -> &mut Self where
E: Into<String>,
[src]
ⓘImportant traits for &'a mut R
pub fn events<E>(&mut self, events: Vec<E>) -> &mut Self where
E: Into<String>,
a list of github events this hook should receive deliveries for the default is "push". for a full list, see the Github api docs
ⓘImportant traits for &'a mut Rpub fn url<U>(&mut self, url: U) -> &mut Self where
U: Into<String>,
[src]
ⓘImportant traits for &'a mut R
pub fn url<U>(&mut self, url: U) -> &mut Self where
U: Into<String>,
web hooks must have an associated url
ⓘImportant traits for &'a mut Rpub fn content_type(&mut self, content_type: WebHookContentType) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn content_type(&mut self, content_type: WebHookContentType) -> &mut Self
web hooks can optionally specify a content_type of "form" or "json" which indicates the type of payload they will expect to receive
ⓘImportant traits for &'a mut Rpub fn secret<S>(&mut self, sec: S) -> &mut Self where
S: Into<String>,
[src]
ⓘImportant traits for &'a mut R
pub fn secret<S>(&mut self, sec: S) -> &mut Self where
S: Into<String>,
web hooks can optionally provide a secret used to sign deliveries to identify that their source was indeed github
ⓘImportant traits for &'a mut Rpub fn config_str_entry<K, V>(&mut self, k: K, v: V) -> &mut Self where
K: Into<String>,
V: Into<String>,
[src]
ⓘImportant traits for &'a mut R
pub fn config_str_entry<K, V>(&mut self, k: K, v: V) -> &mut Self where
K: Into<String>,
V: Into<String>,
ⓘImportant traits for &'a mut Rpub fn config_entry<N>(&mut self, name: N, value: Value) -> &mut Self where
N: Into<String>,
[src]
ⓘImportant traits for &'a mut R
pub fn config_entry<N>(&mut self, name: N, value: Value) -> &mut Self where
N: Into<String>,
pub fn build(&self) -> HookCreateOptions
[src]
pub fn build(&self) -> HookCreateOptions
Auto Trait Implementations
impl Send for HookCreateOptionsBuilder
impl Send for HookCreateOptionsBuilder
impl Sync for HookCreateOptionsBuilder
impl Sync for HookCreateOptionsBuilder