#[non_exhaustive]pub struct ClassSource {
pub dex_name: String,
pub descriptor: String,
pub source: String,
pub rebuilt: Option<Rebuilt>,
pub warning: Option<String>,
pub scan_us: u128,
pub also_defined_in: Vec<String>,
}Expand description
Result of a full getclass.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dex_name: StringThe DEX entry that defines the class.
descriptor: StringThe class rendered (ClassHit::descriptor: differs from the one
asked for when that was a Java / Kotlin spelling of it).
source: StringThe class rendered as smali.
rebuilt: Option<Rebuilt>The minimal DEX containing the class and its $ nested classes,
or None when the class could not be
rebuilt (see warning) and source was disassembled from the
original DEX instead.
warning: Option<String>Why the rebuild was skipped, or which nested classes it left out
(see Rebuilt::dropped), when either happened.
scan_us: u128Microseconds spent locating and inflating the DEX.
also_defined_in: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Forget for ClassSource
impl Freeze for ClassSource
impl Move for ClassSource
impl RefUnwindSafe for ClassSource
impl Send for ClassSource
impl Sync for ClassSource
impl Unpin for ClassSource
impl UnsafeUnpin for ClassSource
impl UnwindSafe for ClassSource
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