pub enum ProductOSContentFormat {
Binary,
Text,
Block,
}
Variants§
Implementations§
source§impl ProductOSContentFormat
impl ProductOSContentFormat
pub fn from_str(string: &str) -> ProductOSContentFormat
Trait Implementations§
source§impl Clone for ProductOSContentFormat
impl Clone for ProductOSContentFormat
source§fn clone(&self) -> ProductOSContentFormat
fn clone(&self) -> ProductOSContentFormat
Returns a copy 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 ProductOSContentFormat
impl Debug for ProductOSContentFormat
source§impl Default for ProductOSContentFormat
impl Default for ProductOSContentFormat
source§impl<'de> Deserialize<'de> for ProductOSContentFormat
impl<'de> Deserialize<'de> for ProductOSContentFormat
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 ProductOSContentFormat
impl Display for ProductOSContentFormat
Auto Trait Implementations§
impl RefUnwindSafe for ProductOSContentFormat
impl Send for ProductOSContentFormat
impl Sync for ProductOSContentFormat
impl Unpin for ProductOSContentFormat
impl UnwindSafe for ProductOSContentFormat
Blanket Implementations§
§impl<T> Any for Twhere
T: Any,
impl<T> Any for Twhere T: Any,
fn get_type_id(&self) -> TypeId
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