pub struct BuildingRight {
pub id: BuildingRightId,
pub valid_until: XmlDate,
pub ownership_sheet_id: Option<OwnershipSheetId>,
pub purposes: Vec<BuildingRightPurpose>,
pub only_identifying_parcel: YesNo,
pub parcels: Vec<ParcelIdentity>,
}Expand description
A building right returned by search or LV preview (PravoStavbyType).
Fields§
§id: BuildingRightIdInternal building-right ID.
valid_until: XmlDateEnd of validity.
ownership_sheet_id: Option<OwnershipSheetId>Ownership-sheet ID, when supplied.
purposes: Vec<BuildingRightPurpose>One or more purposes, as required by the XSD.
only_identifying_parcel: YesNoWhether parcels contains only the identifying parcel.
parcels: Vec<ParcelIdentity>One or more associated parcels, as required by the XSD.
Trait Implementations§
Source§impl Clone for BuildingRight
impl Clone for BuildingRight
Source§impl Debug for BuildingRight
impl Debug for BuildingRight
impl Eq for BuildingRight
Source§impl PartialEq for BuildingRight
impl PartialEq for BuildingRight
impl StructuralPartialEq for BuildingRight
Auto Trait Implementations§
impl Forget for BuildingRight
impl Freeze for BuildingRight
impl Move for BuildingRight
impl RefUnwindSafe for BuildingRight
impl Send for BuildingRight
impl Sync for BuildingRight
impl Unpin for BuildingRight
impl UnsafeUnpin for BuildingRight
impl UnwindSafe for BuildingRight
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.