pub struct UnpackSig {
pub required: usize,
pub optional: Vec<usize>,
pub keys: Vec<UnpackKey>,
pub variadic: Variadic,
}Fields§
§required: usizeRequired positional arguments
optional: Vec<usize>Optional positional arguments (constant table index of default value)
keys: Vec<UnpackKey>Key arguments (required and optional)
variadic: VariadicVariadic mode (None, Discard, or Capture)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnpackSig
impl<'de> Deserialize<'de> for UnpackSig
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 UnpackSig
impl StructuralPartialEq for UnpackSig
Auto Trait Implementations§
impl Freeze for UnpackSig
impl RefUnwindSafe for UnpackSig
impl Send for UnpackSig
impl Sync for UnpackSig
impl Unpin for UnpackSig
impl UnsafeUnpin for UnpackSig
impl UnwindSafe for UnpackSig
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