pub enum SlackImageUrlOrFile {
ImageUrl {
image_url: Url,
},
SlackFile {
slack_file: SlackFileIdOrUrl,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SlackImageUrlOrFile
impl Clone for SlackImageUrlOrFile
Source§fn clone(&self) -> SlackImageUrlOrFile
fn clone(&self) -> SlackImageUrlOrFile
Returns a duplicate 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 SlackImageUrlOrFile
impl Debug for SlackImageUrlOrFile
Source§impl<'de> Deserialize<'de> for SlackImageUrlOrFile
impl<'de> Deserialize<'de> for SlackImageUrlOrFile
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<Url> for SlackImageUrlOrFile
impl From<Url> for SlackImageUrlOrFile
Source§impl PartialEq for SlackImageUrlOrFile
impl PartialEq for SlackImageUrlOrFile
Source§impl Serialize for SlackImageUrlOrFile
impl Serialize for SlackImageUrlOrFile
impl StructuralPartialEq for SlackImageUrlOrFile
Auto Trait Implementations§
impl Freeze for SlackImageUrlOrFile
impl RefUnwindSafe for SlackImageUrlOrFile
impl Send for SlackImageUrlOrFile
impl Sync for SlackImageUrlOrFile
impl Unpin for SlackImageUrlOrFile
impl UnwindSafe for SlackImageUrlOrFile
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