pub struct TypeAttribute {
pub name: String,
pub data_type: DataType,
}Expand description
Attribute in a structured type
Fields§
§name: String§data_type: DataTypeTrait Implementations§
Source§impl Clone for TypeAttribute
impl Clone for TypeAttribute
Source§fn clone(&self) -> TypeAttribute
fn clone(&self) -> TypeAttribute
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypeAttribute
impl Debug for TypeAttribute
Source§impl PartialEq for TypeAttribute
impl PartialEq for TypeAttribute
impl StructuralPartialEq for TypeAttribute
Auto Trait Implementations§
impl Freeze for TypeAttribute
impl RefUnwindSafe for TypeAttribute
impl Send for TypeAttribute
impl Sync for TypeAttribute
impl Unpin for TypeAttribute
impl UnwindSafe for TypeAttribute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more