pub struct AttrDef {
pub name: &'static str,
pub label: &'static str,
pub ns: NsId,
pub owner: ClassId,
pub kind: AttrKind,
pub mult: Mult,
pub profiles: ProfileMask,
pub used_in: ProfileMask,
pub deprecated: bool,
pub fixed: Option<&'static str>,
pub doc: &'static str,
}Fields§
§name: &'static strQualified local name as serialized, e.g. ACLineSegment.r.
label: &'static strShort name, e.g. r.
ns: NsId§owner: ClassIdThe class on which the attribute is declared.
kind: AttrKind§mult: Mult§profiles: ProfileMaskProfiles in which this attribute exists.
used_in: ProfileMaskFor associations, the profiles in which this side is the serialized one
(cims:AssociationUsed = Yes). Always equal to profiles for plain attributes.
deprecated: bool§fixed: Option<&'static str>A value the schema pins via cims:isFixed.
doc: &'static strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for AttrDef
impl Freeze for AttrDef
impl Move for AttrDef
impl RefUnwindSafe for AttrDef
impl Send for AttrDef
impl Sync for AttrDef
impl Unpin for AttrDef
impl UnsafeUnpin for AttrDef
impl UnwindSafe for AttrDef
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