#[non_exhaustive]pub struct CanvasesGetContentRequest {
pub canvas_id: String,
pub content_type: Option<String>,
}Expand description
Arguments for the Slack Web API method canvases.getContent: Get the content of a canvas as markdown (default) or HTML.
Send it with SlackClient::canvases_get_content.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.canvas_id: StringEncoded ID of the canvas
content_type: Option<String>Format in which to return the canvas content. Defaults to markdown.
Implementations§
Trait Implementations§
Source§impl Clone for CanvasesGetContentRequest
impl Clone for CanvasesGetContentRequest
Source§impl Debug for CanvasesGetContentRequest
impl Debug for CanvasesGetContentRequest
impl StructuralPartialEq for CanvasesGetContentRequest
Auto Trait Implementations§
impl Freeze for CanvasesGetContentRequest
impl RefUnwindSafe for CanvasesGetContentRequest
impl Send for CanvasesGetContentRequest
impl Sync for CanvasesGetContentRequest
impl Unpin for CanvasesGetContentRequest
impl UnsafeUnpin for CanvasesGetContentRequest
impl UnwindSafe for CanvasesGetContentRequest
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