pub struct LegacySelector {
pub wire: WireEnum,
pub normalizations: Vec<Normalization>,
pub rejected: Vec<String>,
}Expand description
Additional legacy wire enum accepted by a closed selector.
Fields§
§wire: WireEnumDescriptor enum and Rust type for the legacy input.
normalizations: Vec<Normalization>Every accepted nonzero legacy case.
rejected: Vec<String>Nonzero cases deliberately rejected, rather than silently omitted.
Trait Implementations§
Source§impl Clone for LegacySelector
impl Clone for LegacySelector
Source§impl Debug for LegacySelector
impl Debug for LegacySelector
Source§impl<'de> Deserialize<'de> for LegacySelector
impl<'de> Deserialize<'de> for LegacySelector
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 TryFrom<&NativeLegacySelector> for LegacySelector
impl TryFrom<&NativeLegacySelector> for LegacySelector
Source§type Error = AdapterError
type Error = AdapterError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for LegacySelector
impl Freeze for LegacySelector
impl Move for LegacySelector
impl RefUnwindSafe for LegacySelector
impl Send for LegacySelector
impl Sync for LegacySelector
impl Unpin for LegacySelector
impl UnsafeUnpin for LegacySelector
impl UnwindSafe for LegacySelector
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