[][src]Struct debugserver_types::ColumnDescriptor

pub struct ColumnDescriptor {
    pub attribute_name: String,
    pub format: Option<String>,
    pub label: String,
    pub type_: Option<String>,
    pub width: Option<i64>,
}

A ColumnDescriptor specifies what module attribute to show in a column of the ModulesView, how to format it, and what the column's label should be. It is only used if the underlying UI actually supports this level of customization.

Fields

attribute_name: String

Name of the attribute rendered in this column.

format: Option<String>

Format to use for the rendered values in this column. TBD how the format strings looks like.

label: String

Header UI label of column.

type_: Option<String>

Datatype of values in this column. Defaults to 'string' if not specified.

width: Option<i64>

Width of this column in characters (hint only).

Trait Implementations

impl PartialEq<ColumnDescriptor> for ColumnDescriptor[src]

impl Clone for ColumnDescriptor[src]

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

Performs copy-assignment from source. Read more

impl Debug for ColumnDescriptor[src]

impl Serialize for ColumnDescriptor[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<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]