pub struct SlackTableColumnSetting {
pub align: Option<SlackTableColumnAlign>,
pub is_wrapped: Option<bool>,
}Fields§
§align: Option<SlackTableColumnAlign>§is_wrapped: Option<bool>Implementations§
Source§impl SlackTableColumnSetting
impl SlackTableColumnSetting
pub fn new() -> Self
pub fn align(&mut self, value: SlackTableColumnAlign) -> &mut Self
pub fn reset_align(&mut self) -> &mut Self
pub fn mopt_align(&mut self, value: Option<SlackTableColumnAlign>) -> &mut Self
pub fn with_align(self, value: SlackTableColumnAlign) -> Self
pub fn without_align(self) -> Self
pub fn opt_align(self, value: Option<SlackTableColumnAlign>) -> Self
pub fn is_wrapped(&mut self, value: bool) -> &mut Self
pub fn reset_is_wrapped(&mut self) -> &mut Self
pub fn mopt_is_wrapped(&mut self, value: Option<bool>) -> &mut Self
pub fn with_is_wrapped(self, value: bool) -> Self
pub fn without_is_wrapped(self) -> Self
pub fn opt_is_wrapped(self, value: Option<bool>) -> Self
Trait Implementations§
Source§impl Clone for SlackTableColumnSetting
impl Clone for SlackTableColumnSetting
Source§fn clone(&self) -> SlackTableColumnSetting
fn clone(&self) -> SlackTableColumnSetting
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlackTableColumnSetting
impl Debug for SlackTableColumnSetting
Source§impl<'de> Deserialize<'de> for SlackTableColumnSetting
impl<'de> Deserialize<'de> for SlackTableColumnSetting
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<SlackTableColumnSettingInit> for SlackTableColumnSetting
impl From<SlackTableColumnSettingInit> for SlackTableColumnSetting
Source§fn from(value: SlackTableColumnSettingInit) -> Self
fn from(value: SlackTableColumnSettingInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackTableColumnSetting
impl PartialEq for SlackTableColumnSetting
Source§fn eq(&self, other: &SlackTableColumnSetting) -> bool
fn eq(&self, other: &SlackTableColumnSetting) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SlackTableColumnSetting
impl Serialize for SlackTableColumnSetting
impl StructuralPartialEq for SlackTableColumnSetting
Auto Trait Implementations§
impl Freeze for SlackTableColumnSetting
impl RefUnwindSafe for SlackTableColumnSetting
impl Send for SlackTableColumnSetting
impl Sync for SlackTableColumnSetting
impl Unpin for SlackTableColumnSetting
impl UnsafeUnpin for SlackTableColumnSetting
impl UnwindSafe for SlackTableColumnSetting
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