[][src]Struct debugserver_types::Module

pub struct Module {
    pub address_range: Option<String>,
    pub date_time_stamp: Option<String>,
    pub id: Value,
    pub is_optimized: Option<bool>,
    pub is_user_code: Option<bool>,
    pub name: String,
    pub path: Option<String>,
    pub symbol_file_path: Option<String>,
    pub symbol_status: Option<String>,
    pub version: Option<String>,
}

A Module object represents a row in the modules view. Two attributes are mandatory: an id identifies a module in the modules view and is used in a ModuleEvent for identifying a module for adding, updating or deleting. The name is used to minimally render the module in the UI.

Additional attributes can be added to the module. They will show up in the module View if they have a corresponding ColumnDescriptor.

To avoid an unnecessary proliferation of additional attributes with similar semantics but different names we recommend to re-use attributes from the 'recommended' list below first, and only introduce new attributes if nothing appropriate could be found.

Fields

address_range: Option<String>

Address range covered by this module.

date_time_stamp: Option<String>

Module created or modified.

id: Value

Unique identifier for the module.

is_optimized: Option<bool>

True if the module is optimized.

is_user_code: Option<bool>

True if the module is considered 'user code' by a debugger that supports 'Just My Code'.

name: String

A name of the module.

path: Option<String>

optional but recommended attributes. always try to use these first before introducing additional attributes.

Logical full path to the module. The exact definition is implementation defined, but usually this would be a full path to the on-disk file for the module.

symbol_file_path: Option<String>

Logical full path to the symbol file. The exact definition is implementation defined.

symbol_status: Option<String>

User understandable description of if symbols were found for the module (ex: 'Symbols Loaded', 'Symbols not found', etc.

version: Option<String>

Version of Module.

Trait Implementations

impl PartialEq<Module> for Module[src]

impl Clone for Module[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Module[src]

impl Serialize for Module[src]

impl<'de> Deserialize<'de> for Module[src]

Auto Trait Implementations

impl Sync for Module

impl Send for Module

impl Unpin for Module

impl RefUnwindSafe for Module

impl UnwindSafe for Module

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]