pub enum SpecsFormat {
Json,
Protobuf,
}Variants§
Trait Implementations§
Source§impl From<&SpecsFormat> for &str
impl From<&SpecsFormat> for &str
Source§fn from(val: &SpecsFormat) -> Self
fn from(val: &SpecsFormat) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SpecsFormat
impl RefUnwindSafe for SpecsFormat
impl Send for SpecsFormat
impl Sync for SpecsFormat
impl Unpin for SpecsFormat
impl UnwindSafe for SpecsFormat
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