pub struct SlackRichTextChannel {
pub channel_id: SlackChannelId,
pub style: Option<SlackRichTextStyle>,
}Fields§
§channel_id: SlackChannelId§style: Option<SlackRichTextStyle>Implementations§
Source§impl SlackRichTextChannel
impl SlackRichTextChannel
pub fn new(channel_id: SlackChannelId) -> Self
pub fn channel_id(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel_id(self, value: SlackChannelId) -> Self
pub fn style(&mut self, value: SlackRichTextStyle) -> &mut Self
pub fn reset_style(&mut self) -> &mut Self
pub fn mopt_style(&mut self, value: Option<SlackRichTextStyle>) -> &mut Self
pub fn with_style(self, value: SlackRichTextStyle) -> Self
pub fn without_style(self) -> Self
pub fn opt_style(self, value: Option<SlackRichTextStyle>) -> Self
Trait Implementations§
Source§impl Clone for SlackRichTextChannel
impl Clone for SlackRichTextChannel
Source§fn clone(&self) -> SlackRichTextChannel
fn clone(&self) -> SlackRichTextChannel
Returns a duplicate 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 SlackRichTextChannel
impl Debug for SlackRichTextChannel
Source§impl<'de> Deserialize<'de> for SlackRichTextChannel
impl<'de> Deserialize<'de> for SlackRichTextChannel
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<SlackRichTextChannelInit> for SlackRichTextChannel
impl From<SlackRichTextChannelInit> for SlackRichTextChannel
Source§fn from(value: SlackRichTextChannelInit) -> Self
fn from(value: SlackRichTextChannelInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackRichTextChannel
impl PartialEq for SlackRichTextChannel
Source§impl Serialize for SlackRichTextChannel
impl Serialize for SlackRichTextChannel
impl StructuralPartialEq for SlackRichTextChannel
Auto Trait Implementations§
impl Freeze for SlackRichTextChannel
impl RefUnwindSafe for SlackRichTextChannel
impl Send for SlackRichTextChannel
impl Sync for SlackRichTextChannel
impl Unpin for SlackRichTextChannel
impl UnsafeUnpin for SlackRichTextChannel
impl UnwindSafe for SlackRichTextChannel
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