pub struct SlackApiCanvasesCreateResponse {
pub canvas_id: SlackCanvasId,
}Fields§
§canvas_id: SlackCanvasIdImplementations§
Source§impl SlackApiCanvasesCreateResponse
impl SlackApiCanvasesCreateResponse
Sourcepub fn new(canvas_id: SlackCanvasId) -> Self
pub fn new(canvas_id: SlackCanvasId) -> Self
Creates a new SlackApiCanvasesCreateResponse 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 SlackApiCanvasesCreateResponse
impl<'de> Deserialize<'de> for SlackApiCanvasesCreateResponse
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<SlackApiCanvasesCreateResponseInit> for SlackApiCanvasesCreateResponse
impl From<SlackApiCanvasesCreateResponseInit> for SlackApiCanvasesCreateResponse
Source§fn from(value: SlackApiCanvasesCreateResponseInit) -> Self
fn from(value: SlackApiCanvasesCreateResponseInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiCanvasesCreateResponse
Auto Trait Implementations§
impl Freeze for SlackApiCanvasesCreateResponse
impl RefUnwindSafe for SlackApiCanvasesCreateResponse
impl Send for SlackApiCanvasesCreateResponse
impl Sync for SlackApiCanvasesCreateResponse
impl Unpin for SlackApiCanvasesCreateResponse
impl UnsafeUnpin for SlackApiCanvasesCreateResponse
impl UnwindSafe for SlackApiCanvasesCreateResponse
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