#[non_exhaustive]pub struct ViewsUpdateRequest {
pub view: View,
pub view_id: Option<String>,
pub external_id: Option<String>,
pub hash: Option<String>,
}Expand description
Arguments for the Slack Web API method views.update: Update an existing view.
Send it with SlackClient::views_update.
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.view: ViewA view object. This must be a JSON-encoded string.
view_id: Option<String>A unique identifier of the view to be updated. Either view_id or external_id is required.
external_id: Option<String>A unique identifier of the view set by the developer. Must be unique for all views on a team. Max length of 255 characters. Either view_id or external_id is required.
hash: Option<String>A string that represents view state to protect against possible race conditions.
Implementations§
Trait Implementations§
Source§impl Clone for ViewsUpdateRequest
impl Clone for ViewsUpdateRequest
Source§impl Debug for ViewsUpdateRequest
impl Debug for ViewsUpdateRequest
Source§impl PartialEq for ViewsUpdateRequest
impl PartialEq for ViewsUpdateRequest
Source§impl Serialize for ViewsUpdateRequest
impl Serialize for ViewsUpdateRequest
Source§impl SlackApiMethod for ViewsUpdateRequest
impl SlackApiMethod for ViewsUpdateRequest
impl StructuralPartialEq for ViewsUpdateRequest
Auto Trait Implementations§
impl Freeze for ViewsUpdateRequest
impl RefUnwindSafe for ViewsUpdateRequest
impl Send for ViewsUpdateRequest
impl Sync for ViewsUpdateRequest
impl Unpin for ViewsUpdateRequest
impl UnsafeUnpin for ViewsUpdateRequest
impl UnwindSafe for ViewsUpdateRequest
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