Struct slack_web_api::CompositionObjectText
source · pub struct CompositionObjectText {
pub object_type: String,
pub text: String,
pub emoji: Option<bool>,
pub varbatim: Option<bool>,
}Expand description
https://api.slack.com/reference/block-kit/composition-objects#text
Fields§
§object_type: String§text: String§emoji: Option<bool>§varbatim: Option<bool>Implementations§
Trait Implementations§
source§impl Clone for CompositionObjectText
impl Clone for CompositionObjectText
source§fn clone(&self) -> CompositionObjectText
fn clone(&self) -> CompositionObjectText
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 CompositionObjectText
impl Debug for CompositionObjectText
source§impl Default for CompositionObjectText
impl Default for CompositionObjectText
source§impl<'de> Deserialize<'de> for CompositionObjectText
impl<'de> Deserialize<'de> for CompositionObjectText
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<CompositionObjectText> for SlackBlockContentFieldElement
impl From<CompositionObjectText> for SlackBlockContentFieldElement
source§fn from(value: CompositionObjectText) -> Self
fn from(value: CompositionObjectText) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CompositionObjectText
impl Send for CompositionObjectText
impl Sync for CompositionObjectText
impl Unpin for CompositionObjectText
impl UnwindSafe for CompositionObjectText
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