pub struct ConversationFilterBuilder { /* private fields */ }Expand description
Builder for ConversationFilter object.
Implementations§
Source§impl ConversationFilterBuilder
impl ConversationFilterBuilder
Sourcepub fn get_include(&self) -> Option<&[Conversation]>
pub fn get_include(&self) -> Option<&[Conversation]>
get include field value.
Sourcepub fn set_include(self, value: Option<impl Into<Vec<Conversation>>>) -> Self
pub fn set_include(self, value: Option<impl Into<Vec<Conversation>>>) -> Self
set include field value.
Sourcepub fn include(self, value: impl Into<Vec<Conversation>>) -> Self
pub fn include(self, value: impl Into<Vec<Conversation>>) -> Self
set include field value.
Sourcepub fn conversation(self, value: impl Into<Conversation>) -> Self
pub fn conversation(self, value: impl Into<Conversation>) -> Self
push list element to include field.
get exclude_external_shared_channels field value.
set exclude_external_shared_channels field value.
set exclude_external_shared_channels field value.
Sourcepub fn get_exclude_bot_users(&self) -> Option<bool>
pub fn get_exclude_bot_users(&self) -> Option<bool>
get exclude_bot_users field value.
Sourcepub fn set_exclude_bot_users(self, value: Option<impl Into<bool>>) -> Self
pub fn set_exclude_bot_users(self, value: Option<impl Into<bool>>) -> Self
set exclude_bot_users field value.
Sourcepub fn exclude_bot_users(self, value: impl Into<bool>) -> Self
pub fn exclude_bot_users(self, value: impl Into<bool>) -> Self
set exclude_bot_users field value.
Sourcepub fn build(self) -> Result<ConversationFilter, ValidationErrors>
pub fn build(self) -> Result<ConversationFilter, ValidationErrors>
build ConversationFilter object.