struct Parameters {
self_var: Ident,
this_type: Path,
this_value: Path,
generics: Generics,
is_remote: bool,
is_packed: bool,
}
Fields§
§self_var: Ident
Variable holding the value being serialized. Either self
for local
types or __self
for remote types.
this_type: Path
Path to the type the impl is for. Either a single Ident
for local
types (does not include generic parameters) or some::remote::Path
for
remote types.
this_value: Path
Same as this_type
but using ::<T>
for generic parameters for use in
expression position.
generics: Generics
Generics including any explicit and inferred bounds for the impl.
is_remote: bool
Type has a serde(remote = "...")
attribute.
is_packed: bool
Type has a repr(packed) attribute.
Implementations§
Auto Trait Implementations§
impl Freeze for Parameters
impl RefUnwindSafe for Parameters
impl !Send for Parameters
impl !Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
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