pub struct FileBlock {
pub external_id: String,
pub source: String,
pub block_id: Option<String>,
}Expand description
Displays a remote file.
See: https://api.slack.com/reference/block-kit/blocks#file
Fields§
§external_id: String§source: String§block_id: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileBlock
impl<'de> Deserialize<'de> for FileBlock
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
impl StructuralPartialEq for FileBlock
Auto Trait Implementations§
impl Freeze for FileBlock
impl RefUnwindSafe for FileBlock
impl Send for FileBlock
impl Sync for FileBlock
impl Unpin for FileBlock
impl UnwindSafe for FileBlock
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