pub struct SendWebhookMessageRequest { /* private fields */ }Expand description
发送 Webhook 消息请求构建器。
Implementations§
Source§impl SendWebhookMessageRequest
impl SendWebhookMessageRequest
Sourcepub fn with_secret(self, secret: String) -> Self
pub fn with_secret(self, secret: String) -> Self
设置签名密钥(启用签名验证)
Sourcepub async fn execute(self) -> Result<SendWebhookMessageResponse>
pub async fn execute(self) -> Result<SendWebhookMessageResponse>
执行发送请求并返回飞书响应。
Trait Implementations§
Source§impl Clone for SendWebhookMessageRequest
impl Clone for SendWebhookMessageRequest
Source§fn clone(&self) -> SendWebhookMessageRequest
fn clone(&self) -> SendWebhookMessageRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SendWebhookMessageRequest
impl RefUnwindSafe for SendWebhookMessageRequest
impl Send for SendWebhookMessageRequest
impl Sync for SendWebhookMessageRequest
impl Unpin for SendWebhookMessageRequest
impl UnsafeUnpin for SendWebhookMessageRequest
impl UnwindSafe for SendWebhookMessageRequest
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