pub enum GateFormat {
Text,
Json,
}Variants§
Trait Implementations§
Source§impl Clone for GateFormat
impl Clone for GateFormat
Source§fn clone(&self) -> GateFormat
fn clone(&self) -> GateFormat
Returns a duplicate 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 GateFormat
impl Debug for GateFormat
Source§impl Default for GateFormat
impl Default for GateFormat
Source§fn default() -> GateFormat
fn default() -> GateFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GateFormat
impl<'de> Deserialize<'de> for GateFormat
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 GateFormat
impl PartialEq for GateFormat
Source§impl Serialize for GateFormat
impl Serialize for GateFormat
Source§impl ValueEnum for GateFormat
impl ValueEnum for GateFormat
impl Copy for GateFormat
impl Eq for GateFormat
impl StructuralPartialEq for GateFormat
Auto Trait Implementations§
impl Freeze for GateFormat
impl RefUnwindSafe for GateFormat
impl Send for GateFormat
impl Sync for GateFormat
impl Unpin for GateFormat
impl UnsafeUnpin for GateFormat
impl UnwindSafe for GateFormat
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