Struct slack_web_api::CompositionObjectOption
source · pub struct CompositionObjectOption {
pub text: String,
pub value: String,
pub description: Option<CompositionObjectText>,
pub url: String,
}Expand description
https://api.slack.com/reference/block-kit/composition-objects#option
Fields§
§text: String§value: String§description: Option<CompositionObjectText>§url: StringTrait Implementations§
source§impl Clone for CompositionObjectOption
impl Clone for CompositionObjectOption
source§fn clone(&self) -> CompositionObjectOption
fn clone(&self) -> CompositionObjectOption
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 CompositionObjectOption
impl Debug for CompositionObjectOption
source§impl Default for CompositionObjectOption
impl Default for CompositionObjectOption
source§fn default() -> CompositionObjectOption
fn default() -> CompositionObjectOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompositionObjectOption
impl<'de> Deserialize<'de> for CompositionObjectOption
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
Auto Trait Implementations§
impl RefUnwindSafe for CompositionObjectOption
impl Send for CompositionObjectOption
impl Sync for CompositionObjectOption
impl Unpin for CompositionObjectOption
impl UnwindSafe for CompositionObjectOption
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