#[non_exhaustive]pub struct StarsRemoveRequest {
pub channel: Option<String>,
pub file: Option<String>,
pub file_comment: Option<String>,
pub timestamp: Option<String>,
}Expand description
Arguments for the Slack Web API method stars.remove: Removes a saved item (star) from an item.
Send it with SlackClient::stars_remove.
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: Option<String>Channel to remove star from, or channel where the message to remove star from was posted (used with timestamp).
file: Option<String>File to remove star from.
file_comment: Option<String>File comment to remove star from.
timestamp: Option<String>Timestamp of the message to remove star from.
Implementations§
Trait Implementations§
Source§impl Clone for StarsRemoveRequest
impl Clone for StarsRemoveRequest
Source§impl Debug for StarsRemoveRequest
impl Debug for StarsRemoveRequest
Source§impl Default for StarsRemoveRequest
impl Default for StarsRemoveRequest
Source§impl PartialEq for StarsRemoveRequest
impl PartialEq for StarsRemoveRequest
Source§impl Serialize for StarsRemoveRequest
impl Serialize for StarsRemoveRequest
Source§impl SlackApiMethod for StarsRemoveRequest
impl SlackApiMethod for StarsRemoveRequest
impl StructuralPartialEq for StarsRemoveRequest
Auto Trait Implementations§
impl Freeze for StarsRemoveRequest
impl RefUnwindSafe for StarsRemoveRequest
impl Send for StarsRemoveRequest
impl Sync for StarsRemoveRequest
impl Unpin for StarsRemoveRequest
impl UnsafeUnpin for StarsRemoveRequest
impl UnwindSafe for StarsRemoveRequest
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