pub struct SlackCanvasSection {
pub id: SlackCanvasSectionId,
}Fields§
§id: SlackCanvasSectionIdImplementations§
Source§impl SlackCanvasSection
impl SlackCanvasSection
Sourcepub fn new(id: SlackCanvasSectionId) -> Self
pub fn new(id: SlackCanvasSectionId) -> Self
Creates a new SlackCanvasSection from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn id(&mut self, value: SlackCanvasSectionId) -> &mut Self
pub fn id(&mut self, value: SlackCanvasSectionId) -> &mut Self
Sets id to value.
Sourcepub fn with_id(self, value: SlackCanvasSectionId) -> Self
pub fn with_id(self, value: SlackCanvasSectionId) -> Self
Returns self with id set to value.
Trait Implementations§
Source§impl Clone for SlackCanvasSection
impl Clone for SlackCanvasSection
Source§impl Debug for SlackCanvasSection
impl Debug for SlackCanvasSection
Source§impl<'de> Deserialize<'de> for SlackCanvasSection
impl<'de> Deserialize<'de> for SlackCanvasSection
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<SlackCanvasSectionInit> for SlackCanvasSection
impl From<SlackCanvasSectionInit> for SlackCanvasSection
Source§fn from(value: SlackCanvasSectionInit) -> Self
fn from(value: SlackCanvasSectionInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackCanvasSection
impl PartialEq for SlackCanvasSection
Source§impl Serialize for SlackCanvasSection
impl Serialize for SlackCanvasSection
impl StructuralPartialEq for SlackCanvasSection
Auto Trait Implementations§
impl Freeze for SlackCanvasSection
impl RefUnwindSafe for SlackCanvasSection
impl Send for SlackCanvasSection
impl Sync for SlackCanvasSection
impl Unpin for SlackCanvasSection
impl UnsafeUnpin for SlackCanvasSection
impl UnwindSafe for SlackCanvasSection
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