Struct slack_morphism::api::SlackApiChatUnfurlRequest
source · [−]pub struct SlackApiChatUnfurlRequest {
pub channel: SlackChannelId,
pub ts: SlackTs,
pub unfurls: HashMap<String, SlackApiChatUnfurlMapItem>,
pub user_auth_message: Option<String>,
pub user_auth_required: Option<bool>,
pub user_auth_url: Option<String>,
}
Fields
channel: SlackChannelId
ts: SlackTs
unfurls: HashMap<String, SlackApiChatUnfurlMapItem>
user_auth_message: Option<String>
user_auth_required: Option<bool>
user_auth_url: Option<String>
Implementations
pub fn new(
channel: SlackChannelId,
ts: SlackTs,
unfurls: HashMap<String, SlackApiChatUnfurlMapItem>
) -> Self
Trait Implementations
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SlackApiChatUnfurlRequest
impl Send for SlackApiChatUnfurlRequest
impl Sync for SlackApiChatUnfurlRequest
impl Unpin for SlackApiChatUnfurlRequest
impl UnwindSafe for SlackApiChatUnfurlRequest
Blanket Implementations
Mutably borrows from an owned value. Read more