pub struct SlackApiViewsPublishRequest {
pub user_id: SlackUserId,
pub view: SlackView,
pub hash: Option<String>,
}
Fields§
§user_id: SlackUserId
§view: SlackView
§hash: Option<String>
Implementations§
Source§impl SlackApiViewsPublishRequest
impl SlackApiViewsPublishRequest
pub fn new(user_id: SlackUserId, view: SlackView) -> Self
pub fn user_id(&mut self, value: SlackUserId) -> &mut Self
pub fn with_user_id(self, value: SlackUserId) -> Self
pub fn view(&mut self, value: SlackView) -> &mut Self
pub fn with_view(self, value: SlackView) -> Self
pub fn hash(&mut self, value: String) -> &mut Self
pub fn reset_hash(&mut self) -> &mut Self
pub fn mopt_hash(&mut self, value: Option<String>) -> &mut Self
pub fn with_hash(self, value: String) -> Self
pub fn without_hash(self) -> Self
pub fn opt_hash(self, value: Option<String>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiViewsPublishRequest
impl Clone for SlackApiViewsPublishRequest
Source§fn clone(&self) -> SlackApiViewsPublishRequest
fn clone(&self) -> SlackApiViewsPublishRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SlackApiViewsPublishRequest
impl Debug for SlackApiViewsPublishRequest
Source§impl<'de> Deserialize<'de> for SlackApiViewsPublishRequest
impl<'de> Deserialize<'de> for SlackApiViewsPublishRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SlackApiViewsPublishRequestInit> for SlackApiViewsPublishRequest
impl From<SlackApiViewsPublishRequestInit> for SlackApiViewsPublishRequest
Source§fn from(value: SlackApiViewsPublishRequestInit) -> Self
fn from(value: SlackApiViewsPublishRequestInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiViewsPublishRequest
Auto Trait Implementations§
impl Freeze for SlackApiViewsPublishRequest
impl RefUnwindSafe for SlackApiViewsPublishRequest
impl Send for SlackApiViewsPublishRequest
impl Sync for SlackApiViewsPublishRequest
impl Unpin for SlackApiViewsPublishRequest
impl UnwindSafe for SlackApiViewsPublishRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)