pub struct Collection {
pub name: String,
pub domains: Vec<Domain>,
pub fields: Vec<Field>,
pub attrs: BTreeMap<String, String>,
pub children: Vec<Collection>,
pub related: Vec<Relation>,
}Expand description
A set of fields and domains with attributes: a classic dataset, a multidimensional group, a mesh with its datasets, a feature layer.
Fields§
§name: String§domains: Vec<Domain>§fields: Vec<Field>§attrs: BTreeMap<String, String>§children: Vec<Collection>Implementations§
Trait Implementations§
Source§impl Clone for Collection
impl Clone for Collection
Source§fn clone(&self) -> Collection
fn clone(&self) -> Collection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Collection
impl Debug for Collection
Source§impl Default for Collection
impl Default for Collection
Source§fn default() -> Collection
fn default() -> Collection
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Collection
impl !UnwindSafe for Collection
impl Freeze for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnsafeUnpin for Collection
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