Struct agnes::field::DsField
[−]
[src]
pub struct DsField { pub ty_ident: TypedFieldIdent, pub ds_index: usize, }
Details of a field within a data store
Fields
ty_ident: TypedFieldIdent
Field identifier and type
ds_index: usize
Index of field within the data store
Methods
impl DsField
[src]
pub fn new(ident: FieldIdent, ty: FieldType, ds_index: usize) -> DsField
[src]
Create a new DsField
from field identifier, type, and data store index
pub fn from_typed_field_ident(
ty_ident: TypedFieldIdent,
ds_index: usize
) -> DsField
[src]
ty_ident: TypedFieldIdent,
ds_index: usize
) -> DsField
Create a new DsField
from a typed field identifier and a data store index
pub fn from_src(src: &SrcField, ds_index: usize) -> DsField
[src]
Create a new DsField
from a SrcField
object and data store index. The source index from
the SrcField
object will not be included in the new object.
Trait Implementations
impl Debug for DsField
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more