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.
Trait Implementations§
Source§impl Debug for ConversationFilterBuilder
impl Debug for ConversationFilterBuilder
Auto Trait Implementations§
impl Freeze for ConversationFilterBuilder
impl RefUnwindSafe for ConversationFilterBuilder
impl Send for ConversationFilterBuilder
impl Sync for ConversationFilterBuilder
impl Unpin for ConversationFilterBuilder
impl UnsafeUnpin for ConversationFilterBuilder
impl UnwindSafe for ConversationFilterBuilder
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