pub struct CollectionAttribute {
pub attr_name: String,
pub is_public: bool,
pub is_optional: bool,
pub is_array: bool,
}Expand description
An attribute specification for collections:
EntityClass {
attribute! << AnotherClassNameToCollect
}Fields§
§attr_name: String§is_public: bool§is_optional: bool§is_array: boolTrait Implementations§
Source§impl Clone for CollectionAttribute
impl Clone for CollectionAttribute
Source§fn clone(&self) -> CollectionAttribute
fn clone(&self) -> CollectionAttribute
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 PartialEq for CollectionAttribute
impl PartialEq for CollectionAttribute
impl StructuralPartialEq for CollectionAttribute
Auto Trait Implementations§
impl Freeze for CollectionAttribute
impl RefUnwindSafe for CollectionAttribute
impl Send for CollectionAttribute
impl Sync for CollectionAttribute
impl Unpin for CollectionAttribute
impl UnwindSafe for CollectionAttribute
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