Struct slack_web_api::SlackBlockFile
source · pub struct SlackBlockFile {
pub block_type: String,
pub external_id: String,
pub source: String,
pub block_id: Option<String>,
}Fields§
§block_type: String§external_id: String§source: String§block_id: Option<String>Implementations§
source§impl SlackBlockFile
impl SlackBlockFile
pub fn new() -> SlackBlockFile
pub fn external_id<S: Into<String>>(self, external_id: S) -> SlackBlockFile
Trait Implementations§
source§impl Clone for SlackBlockFile
impl Clone for SlackBlockFile
source§fn clone(&self) -> SlackBlockFile
fn clone(&self) -> SlackBlockFile
Returns a copy of the value. Read more
1.0.0 · 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 SlackBlockFile
impl Debug for SlackBlockFile
source§impl Default for SlackBlockFile
impl Default for SlackBlockFile
source§impl<'de> Deserialize<'de> for SlackBlockFile
impl<'de> Deserialize<'de> for SlackBlockFile
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<SlackBlockFile> for SlackBlock
impl From<SlackBlockFile> for SlackBlock
source§fn from(value: SlackBlockFile) -> Self
fn from(value: SlackBlockFile) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SlackBlockFile
impl Send for SlackBlockFile
impl Sync for SlackBlockFile
impl Unpin for SlackBlockFile
impl UnwindSafe for SlackBlockFile
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