pub struct UnpackKey {
pub kind: UnpackKeyKind,
pub default: Option<usize>,
}Fields§
§kind: UnpackKeyKindKey kind (symbol or constant)
default: Option<usize>Constant table index of default value, if key is optional
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnpackKey
impl<'de> Deserialize<'de> for UnpackKey
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
impl Eq for UnpackKey
impl StructuralPartialEq for UnpackKey
Auto Trait Implementations§
impl Freeze for UnpackKey
impl RefUnwindSafe for UnpackKey
impl Send for UnpackKey
impl Sync for UnpackKey
impl Unpin for UnpackKey
impl UnsafeUnpin for UnpackKey
impl UnwindSafe for UnpackKey
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