pub struct SlackBlockSuggestionOptionGroups {
pub option_groups: Vec<SlackBlockOptionGroup<SlackBlockPlainTextOnly>>,
}
Fields§
§option_groups: Vec<SlackBlockOptionGroup<SlackBlockPlainTextOnly>>
Implementations§
Source§impl SlackBlockSuggestionOptionGroups
impl SlackBlockSuggestionOptionGroups
pub fn new( option_groups: Vec<SlackBlockOptionGroup<SlackBlockPlainTextOnly>>, ) -> Self
pub fn option_groups( &mut self, value: Vec<SlackBlockOptionGroup<SlackBlockPlainTextOnly>>, ) -> &mut Self
pub fn with_option_groups( self, value: Vec<SlackBlockOptionGroup<SlackBlockPlainTextOnly>>, ) -> Self
Trait Implementations§
Source§impl Clone for SlackBlockSuggestionOptionGroups
impl Clone for SlackBlockSuggestionOptionGroups
Source§fn clone(&self) -> SlackBlockSuggestionOptionGroups
fn clone(&self) -> SlackBlockSuggestionOptionGroups
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<'de> Deserialize<'de> for SlackBlockSuggestionOptionGroups
impl<'de> Deserialize<'de> for SlackBlockSuggestionOptionGroups
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<SlackBlockSuggestionOptionGroupsInit> for SlackBlockSuggestionOptionGroups
impl From<SlackBlockSuggestionOptionGroupsInit> for SlackBlockSuggestionOptionGroups
Source§fn from(value: SlackBlockSuggestionOptionGroupsInit) -> Self
fn from(value: SlackBlockSuggestionOptionGroupsInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackBlockSuggestionOptionGroups
impl PartialEq for SlackBlockSuggestionOptionGroups
Source§fn eq(&self, other: &SlackBlockSuggestionOptionGroups) -> bool
fn eq(&self, other: &SlackBlockSuggestionOptionGroups) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackBlockSuggestionOptionGroups
Auto Trait Implementations§
impl Freeze for SlackBlockSuggestionOptionGroups
impl RefUnwindSafe for SlackBlockSuggestionOptionGroups
impl Send for SlackBlockSuggestionOptionGroups
impl Sync for SlackBlockSuggestionOptionGroups
impl Unpin for SlackBlockSuggestionOptionGroups
impl UnwindSafe for SlackBlockSuggestionOptionGroups
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
)