#[non_exhaustive]pub struct ConversationsMarkRequest {
pub channel: String,
pub ts: String,
}Expand description
Arguments for the Slack Web API method conversations.mark: Sets the read cursor in a channel.
Send it with SlackClient::conversations_mark.
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.channel: StringChannel or conversation to set the read cursor for.
ts: StringUnique identifier of message you want marked as most recently seen in this conversation.
Implementations§
Trait Implementations§
Source§impl Clone for ConversationsMarkRequest
impl Clone for ConversationsMarkRequest
Source§impl Debug for ConversationsMarkRequest
impl Debug for ConversationsMarkRequest
Source§impl PartialEq for ConversationsMarkRequest
impl PartialEq for ConversationsMarkRequest
Source§impl Serialize for ConversationsMarkRequest
impl Serialize for ConversationsMarkRequest
impl StructuralPartialEq for ConversationsMarkRequest
Auto Trait Implementations§
impl Freeze for ConversationsMarkRequest
impl RefUnwindSafe for ConversationsMarkRequest
impl Send for ConversationsMarkRequest
impl Sync for ConversationsMarkRequest
impl Unpin for ConversationsMarkRequest
impl UnsafeUnpin for ConversationsMarkRequest
impl UnwindSafe for ConversationsMarkRequest
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