pub enum AttachmentState {
Idle,
Uploading,
Processing,
Error,
Done,
Other(String),
}Expand description
An attachment’s upload state.
Variants§
Idle
At rest (the default).
Uploading
Uploading.
Processing
Processing.
Error
Failed.
Done
Done.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for AttachmentState
impl Clone for AttachmentState
Source§impl Debug for AttachmentState
impl Debug for AttachmentState
Source§impl Display for AttachmentState
impl Display for AttachmentState
impl Eq for AttachmentState
Source§impl From<&str> for AttachmentState
impl From<&str> for AttachmentState
Source§impl From<String> for AttachmentState
impl From<String> for AttachmentState
Source§impl Hash for AttachmentState
impl Hash for AttachmentState
Source§impl PartialEq for AttachmentState
impl PartialEq for AttachmentState
Source§impl Serialize for AttachmentState
impl Serialize for AttachmentState
impl StructuralPartialEq for AttachmentState
Auto Trait Implementations§
impl Freeze for AttachmentState
impl RefUnwindSafe for AttachmentState
impl Send for AttachmentState
impl Sync for AttachmentState
impl Unpin for AttachmentState
impl UnsafeUnpin for AttachmentState
impl UnwindSafe for AttachmentState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.