egml_core/model/base/ownership_attributes.rs
1/// Attributes from `gml:OwnershipAttributeGroup`.
2///
3/// Carried by every GML property element alongside [`AssociationAttributes`](super::AssociationAttributes).
4/// `owns` asserts that this property is the primary owner of the referenced object —
5/// i.e. the object's lifetime is tied to this property.
6///
7/// Corresponds to `gml:OwnershipAttributeGroup` in
8/// [OGC 07-036 §7.2.3.2](https://docs.ogc.org/is/07-036/07-036.pdf).
9/// The schema default for `owns` is `false`.
10#[derive(Debug, Clone, Copy, PartialEq, Default)]
11pub struct OwnershipAttributes {
12 /// `gml:owns` — `true` if this property owns the referenced object.
13 pub owns: bool,
14}