pub struct RustSurface {
pub events: Vec<RustEvent>,
pub base_event: Option<RustBaseEvent>,
pub tagged_enum: Option<String>,
pub files: Vec<String>,
pub notes: Vec<String>,
}Expand description
Everything the scan found.
Fields§
§events: Vec<RustEvent>One entry per wire tag, sorted.
base_event: Option<RustBaseEvent>The BaseEvent envelope, when the module declares one. None is not
drift — the comparison warns instead, the same way an unreadable
payload does.
tagged_enum: Option<String>Name of the #[serde(tag = "type")] enum, when the crate has one yet.
files: Vec<String>Repo-relative paths scanned, sorted.
notes: Vec<String>Things worth mentioning that are not drift (e.g. an unresolved payload).
Trait Implementations§
Source§impl Clone for RustSurface
impl Clone for RustSurface
Source§fn clone(&self) -> RustSurface
fn clone(&self) -> RustSurface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RustSurface
impl Debug for RustSurface
Source§impl Default for RustSurface
impl Default for RustSurface
Source§fn default() -> RustSurface
fn default() -> RustSurface
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RustSurface
impl RefUnwindSafe for RustSurface
impl Send for RustSurface
impl Sync for RustSurface
impl Unpin for RustSurface
impl UnsafeUnpin for RustSurface
impl UnwindSafe for RustSurface
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