pub struct SlackApiChatUnfurlMapItemV2 {
pub blocks: Vec<SlackBlock>,
pub preview: Option<SlackApiChatUnfurlPreview>,
}
Fields§
§blocks: Vec<SlackBlock>
§preview: Option<SlackApiChatUnfurlPreview>
Implementations§
Source§impl SlackApiChatUnfurlMapItemV2
impl SlackApiChatUnfurlMapItemV2
pub fn new(blocks: Vec<SlackBlock>) -> Self
pub fn blocks(&mut self, value: Vec<SlackBlock>) -> &mut Self
pub fn with_blocks(self, value: Vec<SlackBlock>) -> Self
pub fn preview(&mut self, value: SlackApiChatUnfurlPreview) -> &mut Self
pub fn reset_preview(&mut self) -> &mut Self
pub fn mopt_preview( &mut self, value: Option<SlackApiChatUnfurlPreview>, ) -> &mut Self
pub fn with_preview(self, value: SlackApiChatUnfurlPreview) -> Self
pub fn without_preview(self) -> Self
pub fn opt_preview(self, value: Option<SlackApiChatUnfurlPreview>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiChatUnfurlMapItemV2
impl Clone for SlackApiChatUnfurlMapItemV2
Source§fn clone(&self) -> SlackApiChatUnfurlMapItemV2
fn clone(&self) -> SlackApiChatUnfurlMapItemV2
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 SlackApiChatUnfurlMapItemV2
impl Debug for SlackApiChatUnfurlMapItemV2
Source§impl<'de> Deserialize<'de> for SlackApiChatUnfurlMapItemV2
impl<'de> Deserialize<'de> for SlackApiChatUnfurlMapItemV2
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<SlackApiChatUnfurlMapItemV2Init> for SlackApiChatUnfurlMapItemV2
impl From<SlackApiChatUnfurlMapItemV2Init> for SlackApiChatUnfurlMapItemV2
Source§fn from(value: SlackApiChatUnfurlMapItemV2Init) -> Self
fn from(value: SlackApiChatUnfurlMapItemV2Init) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiChatUnfurlMapItemV2
Auto Trait Implementations§
impl Freeze for SlackApiChatUnfurlMapItemV2
impl RefUnwindSafe for SlackApiChatUnfurlMapItemV2
impl Send for SlackApiChatUnfurlMapItemV2
impl Sync for SlackApiChatUnfurlMapItemV2
impl Unpin for SlackApiChatUnfurlMapItemV2
impl UnwindSafe for SlackApiChatUnfurlMapItemV2
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
)