pub struct SlackBlockConversationFilter {
pub include: Option<Vec<SlackConversationFilterInclude>>,
pub exclude_external_shared_channels: Option<bool>,
pub exclude_bot_users: Option<bool>,
}Fields§
§include: Option<Vec<SlackConversationFilterInclude>>§exclude_bot_users: Option<bool>Implementations§
Source§impl SlackBlockConversationFilter
impl SlackBlockConversationFilter
pub fn new() -> Self
pub fn include( &mut self, value: Vec<SlackConversationFilterInclude>, ) -> &mut Self
pub fn reset_include(&mut self) -> &mut Self
pub fn mopt_include( &mut self, value: Option<Vec<SlackConversationFilterInclude>>, ) -> &mut Self
pub fn with_include(self, value: Vec<SlackConversationFilterInclude>) -> Self
pub fn without_include(self) -> Self
pub fn opt_include( self, value: Option<Vec<SlackConversationFilterInclude>>, ) -> Self
pub fn exclude_bot_users(&mut self, value: bool) -> &mut Self
pub fn reset_exclude_bot_users(&mut self) -> &mut Self
pub fn mopt_exclude_bot_users(&mut self, value: Option<bool>) -> &mut Self
pub fn with_exclude_bot_users(self, value: bool) -> Self
pub fn without_exclude_bot_users(self) -> Self
pub fn opt_exclude_bot_users(self, value: Option<bool>) -> Self
Trait Implementations§
Source§impl Clone for SlackBlockConversationFilter
impl Clone for SlackBlockConversationFilter
Source§fn clone(&self) -> SlackBlockConversationFilter
fn clone(&self) -> SlackBlockConversationFilter
Returns a duplicate 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 SlackBlockConversationFilter
impl Debug for SlackBlockConversationFilter
Source§impl<'de> Deserialize<'de> for SlackBlockConversationFilter
impl<'de> Deserialize<'de> for SlackBlockConversationFilter
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<SlackBlockConversationFilterInit> for SlackBlockConversationFilter
impl From<SlackBlockConversationFilterInit> for SlackBlockConversationFilter
Source§fn from(value: SlackBlockConversationFilterInit) -> Self
fn from(value: SlackBlockConversationFilterInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackBlockConversationFilter
impl PartialEq for SlackBlockConversationFilter
Source§fn eq(&self, other: &SlackBlockConversationFilter) -> bool
fn eq(&self, other: &SlackBlockConversationFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlackBlockConversationFilter
Auto Trait Implementations§
impl Freeze for SlackBlockConversationFilter
impl RefUnwindSafe for SlackBlockConversationFilter
impl Send for SlackBlockConversationFilter
impl Sync for SlackBlockConversationFilter
impl Unpin for SlackBlockConversationFilter
impl UnsafeUnpin for SlackBlockConversationFilter
impl UnwindSafe for SlackBlockConversationFilter
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