pub enum AssetFormat {
TarGz,
Zip,
Raw,
}Expand description
Output format of an asset target under assets.<id>.format.
Variants§
TarGz
A gzip-compressed tar archive (.tar.gz).
Zip
A zip archive (.zip).
Raw
One existing file staged as-is without archiving.
Implementations§
Trait Implementations§
Source§impl Clone for AssetFormat
impl Clone for AssetFormat
impl Copy for AssetFormat
Source§impl Debug for AssetFormat
impl Debug for AssetFormat
Source§impl Default for AssetFormat
impl Default for AssetFormat
Source§impl<'de> Deserialize<'de> for AssetFormat
impl<'de> Deserialize<'de> for AssetFormat
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 Display for AssetFormat
impl Display for AssetFormat
impl Eq for AssetFormat
Source§impl PartialEq for AssetFormat
impl PartialEq for AssetFormat
Source§impl Serialize for AssetFormat
impl Serialize for AssetFormat
impl StructuralPartialEq for AssetFormat
Auto Trait Implementations§
impl Forget for AssetFormat
impl Freeze for AssetFormat
impl Move for AssetFormat
impl RefUnwindSafe for AssetFormat
impl Send for AssetFormat
impl Sync for AssetFormat
impl Unpin for AssetFormat
impl UnsafeUnpin for AssetFormat
impl UnwindSafe for AssetFormat
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
fn validate_matches(&self, other: &O) -> bool
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more