pub enum SlackFileIdOrUrl {
Id {
id: SlackFileId,
},
Url {
url: Url,
},
}Variants§
Trait Implementations§
Source§impl Clone for SlackFileIdOrUrl
impl Clone for SlackFileIdOrUrl
Source§fn clone(&self) -> SlackFileIdOrUrl
fn clone(&self) -> SlackFileIdOrUrl
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 SlackFileIdOrUrl
impl Debug for SlackFileIdOrUrl
Source§impl<'de> Deserialize<'de> for SlackFileIdOrUrl
impl<'de> Deserialize<'de> for SlackFileIdOrUrl
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<SlackFileId> for SlackFileIdOrUrl
impl From<SlackFileId> for SlackFileIdOrUrl
Source§fn from(value: SlackFileId) -> Self
fn from(value: SlackFileId) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackFileIdOrUrl
impl PartialEq for SlackFileIdOrUrl
Source§impl Serialize for SlackFileIdOrUrl
impl Serialize for SlackFileIdOrUrl
impl StructuralPartialEq for SlackFileIdOrUrl
Auto Trait Implementations§
impl Freeze for SlackFileIdOrUrl
impl RefUnwindSafe for SlackFileIdOrUrl
impl Send for SlackFileIdOrUrl
impl Sync for SlackFileIdOrUrl
impl Unpin for SlackFileIdOrUrl
impl UnwindSafe for SlackFileIdOrUrl
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