pub enum LegacyResultWireSpec {
String(String),
Object {
source: String,
default: Option<String>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LegacyResultWireSpec
impl Clone for LegacyResultWireSpec
Source§impl Debug for LegacyResultWireSpec
impl Debug for LegacyResultWireSpec
Source§impl<'de> Deserialize<'de> for LegacyResultWireSpec
impl<'de> Deserialize<'de> for LegacyResultWireSpec
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
Auto Trait Implementations§
impl Freeze for LegacyResultWireSpec
impl RefUnwindSafe for LegacyResultWireSpec
impl Send for LegacyResultWireSpec
impl Sync for LegacyResultWireSpec
impl Unpin for LegacyResultWireSpec
impl UnsafeUnpin for LegacyResultWireSpec
impl UnwindSafe for LegacyResultWireSpec
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