Struct agnes::field::RFieldIdent [] [src]

pub struct RFieldIdent {
    pub ident: FieldIdent,
    pub rename: Option<String>,
}

Possibly-renamed field identifier

Fields

Original field identifier

Renamed name (if exists)

Methods

impl RFieldIdent
[src]

[src]

Produce a string representation of this RFieldIdent. Uses the renamed name (if exists), of the result of to_string on the underlying FieldIdent.

[src]

Produce a new FieldIdent using the rename value of this RFieldIdent (if exists), or simply a clone of the underlying FieldIdent.

Trait Implementations

impl Debug for RFieldIdent
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for RFieldIdent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for RFieldIdent
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for RFieldIdent
[src]

impl Hash for RFieldIdent
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for RFieldIdent

impl Sync for RFieldIdent