#[non_exhaustive]pub struct CallsEndRequest {
pub id: String,
pub duration: Option<i64>,
}Expand description
Arguments for the Slack Web API method calls.end: Ends a Call.
Send it with SlackClient::calls_end.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Stringid returned when registering the call using the calls.add method.
duration: Option<i64>Call duration in seconds
Implementations§
Trait Implementations§
Source§impl Clone for CallsEndRequest
impl Clone for CallsEndRequest
Source§impl Debug for CallsEndRequest
impl Debug for CallsEndRequest
Source§impl PartialEq for CallsEndRequest
impl PartialEq for CallsEndRequest
Source§impl Serialize for CallsEndRequest
impl Serialize for CallsEndRequest
Source§impl SlackApiMethod for CallsEndRequest
impl SlackApiMethod for CallsEndRequest
impl StructuralPartialEq for CallsEndRequest
Auto Trait Implementations§
impl Freeze for CallsEndRequest
impl RefUnwindSafe for CallsEndRequest
impl Send for CallsEndRequest
impl Sync for CallsEndRequest
impl Unpin for CallsEndRequest
impl UnsafeUnpin for CallsEndRequest
impl UnwindSafe for CallsEndRequest
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