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