#[non_exhaustive]pub enum UploadType {
Dataset,
Publication,
Poster,
Presentation,
Software,
Image,
Video,
Lesson,
PhysicalObject,
Other,
Unknown(String),
}Expand description
Zenodo upload-type vocabulary for deposit metadata.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Dataset
Dataset upload type.
Publication
Publication upload type.
Poster
Poster upload type.
Presentation
Presentation upload type.
Software
Software upload type.
Image
Image upload type.
Video
Video upload type.
Lesson
Lesson upload type.
PhysicalObject
Physical object upload type.
Other
Other upload type.
Unknown(String)
A server value unknown to this crate version.
Trait Implementations§
Source§impl Clone for UploadType
impl Clone for UploadType
Source§fn clone(&self) -> UploadType
fn clone(&self) -> UploadType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UploadType
impl Debug for UploadType
Source§impl<'de> Deserialize<'de> for UploadType
impl<'de> Deserialize<'de> for UploadType
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 PartialEq for UploadType
impl PartialEq for UploadType
Source§fn eq(&self, other: &UploadType) -> bool
fn eq(&self, other: &UploadType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UploadType
impl Serialize for UploadType
impl Eq for UploadType
impl StructuralPartialEq for UploadType
Auto Trait Implementations§
impl Freeze for UploadType
impl RefUnwindSafe for UploadType
impl Send for UploadType
impl Sync for UploadType
impl Unpin for UploadType
impl UnsafeUnpin for UploadType
impl UnwindSafe for UploadType
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