pub struct SlackFile {
pub url: Option<String>,
pub id: Option<String>,
}Expand description
A Slack file used as an image (either url or id). https://docs.slack.dev/reference/block-kit/composition-objects/slack-file-object
Fields§
§url: Option<String>§id: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackFile
impl<'de> Deserialize<'de> for SlackFile
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 SlackFile
Auto Trait Implementations§
impl Freeze for SlackFile
impl RefUnwindSafe for SlackFile
impl Send for SlackFile
impl Sync for SlackFile
impl Unpin for SlackFile
impl UnsafeUnpin for SlackFile
impl UnwindSafe for SlackFile
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