pub struct Attribute {
pub name: String,
pub type_name: String,
pub optional: bool,
pub aggregate: bool,
}Expand description
One explicit positional attribute.
Fields§
§name: StringDeclared attribute name.
type_name: StringDeclared scalar or element type token.
optional: boolWhether OPTIONAL was present.
aggregate: boolWhether a LIST, SET, ARRAY, or BAG wrapper was present.
Implementations§
Trait Implementations§
impl Eq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnsafeUnpin for Attribute
impl UnwindSafe for Attribute
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