pub struct PostUserWebhooksEventTestRequest<'a> {
pub on_behalf_of: Option<String>,
pub oauth_client_id: Option<String>,
pub oauth_client_secret: Option<String>,
pub oauth_token_url: Option<String>,
pub url: Option<String>,
/* private fields */
}Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§on_behalf_of: Option<String>§oauth_client_id: Option<String>§oauth_client_secret: Option<String>§oauth_token_url: Option<String>§url: Option<String>Implementations§
Source§impl<'a> PostUserWebhooksEventTestRequest<'a>
impl<'a> PostUserWebhooksEventTestRequest<'a>
pub async fn send(self) -> Result<()>
pub fn on_behalf_of(self, on_behalf_of: &str) -> Self
pub fn oauth_client_id(self, oauth_client_id: &str) -> Self
pub fn oauth_client_secret(self, oauth_client_secret: &str) -> Self
pub fn oauth_token_url(self, oauth_token_url: &str) -> Self
pub fn url(self, url: &str) -> Self
Auto Trait Implementations§
impl<'a> Freeze for PostUserWebhooksEventTestRequest<'a>
impl<'a> !RefUnwindSafe for PostUserWebhooksEventTestRequest<'a>
impl<'a> Send for PostUserWebhooksEventTestRequest<'a>
impl<'a> Sync for PostUserWebhooksEventTestRequest<'a>
impl<'a> Unpin for PostUserWebhooksEventTestRequest<'a>
impl<'a> !UnwindSafe for PostUserWebhooksEventTestRequest<'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