pub struct TypeAttribute {
pub name: Identifier,
pub data_type: DataType,
pub collate: Option<Identifier>,
}Expand description
Type attribute for composite types
Fields§
§name: Identifier§data_type: DataType§collate: Option<Identifier>Trait 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<'de> Deserialize<'de> for TypeAttribute
impl<'de> Deserialize<'de> for TypeAttribute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TypeAttribute
impl PartialEq for TypeAttribute
Source§impl Serialize for TypeAttribute
impl Serialize 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