pub struct SlackBlockSuggestionOptions {
pub options: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>,
}
Fields§
§options: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
Implementations§
Source§impl SlackBlockSuggestionOptions
impl SlackBlockSuggestionOptions
pub fn new(options: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>) -> Self
pub fn options( &mut self, value: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>, ) -> &mut Self
pub fn with_options( self, value: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>, ) -> Self
Trait Implementations§
Source§impl Clone for SlackBlockSuggestionOptions
impl Clone for SlackBlockSuggestionOptions
Source§fn clone(&self) -> SlackBlockSuggestionOptions
fn clone(&self) -> SlackBlockSuggestionOptions
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 Debug for SlackBlockSuggestionOptions
impl Debug for SlackBlockSuggestionOptions
Source§impl<'de> Deserialize<'de> for SlackBlockSuggestionOptions
impl<'de> Deserialize<'de> for SlackBlockSuggestionOptions
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<SlackBlockSuggestionOptionsInit> for SlackBlockSuggestionOptions
impl From<SlackBlockSuggestionOptionsInit> for SlackBlockSuggestionOptions
Source§fn from(value: SlackBlockSuggestionOptionsInit) -> Self
fn from(value: SlackBlockSuggestionOptionsInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackBlockSuggestionOptions
Auto Trait Implementations§
impl Freeze for SlackBlockSuggestionOptions
impl RefUnwindSafe for SlackBlockSuggestionOptions
impl Send for SlackBlockSuggestionOptions
impl Sync for SlackBlockSuggestionOptions
impl Unpin for SlackBlockSuggestionOptions
impl UnwindSafe for SlackBlockSuggestionOptions
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
)