pub struct FieldInfo {
pub name: String,
pub repetition: Repetition,
pub id: Option<i32>,
}
Expand description
Common type information.
Fields
name: String
The field name
repetition: Repetition
The repetition
id: Option<i32>
the optional id, to select fields by id
Trait Implementations
impl Eq for FieldInfo
impl StructuralEq for FieldInfo
impl StructuralPartialEq for FieldInfo
Auto Trait Implementations
impl RefUnwindSafe for FieldInfo
impl Send for FieldInfo
impl Sync for FieldInfo
impl Unpin for FieldInfo
impl UnwindSafe for FieldInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more