pub struct InverseAttributeInfo {
pub name: String,
pub entity: String,
pub for_attribute: String,
pub aggregate: bool,
pub lower: u64,
pub upper: Option<u64>,
pub declared_by: String,
}Expand description
One INVERSE attribute of an entity, as its declared release defines
it.
Fields§
§name: StringThe declared name, in the schema’s spelling (IsDefinedBy).
entity: StringThe referencing entity type named before FOR; its subtypes count.
for_attribute: StringThe attribute of entity named after FOR (RelatedObjects).
aggregate: boolWhether the inverse is a SET or BAG (read as a list) rather
than a single entity (read as a ref or null).
lower: u64The declared lower bound; 1 for a non-aggregate inverse.
upper: Option<u64>The declared upper bound, None for ?; Some(1) for a
non-aggregate inverse.
declared_by: StringThe entity whose declaration introduces the inverse.
Trait Implementations§
Source§impl Clone for InverseAttributeInfo
impl Clone for InverseAttributeInfo
Source§fn clone(&self) -> InverseAttributeInfo
fn clone(&self) -> InverseAttributeInfo
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 InverseAttributeInfo
impl Debug for InverseAttributeInfo
impl Eq for InverseAttributeInfo
Source§impl PartialEq for InverseAttributeInfo
impl PartialEq for InverseAttributeInfo
impl StructuralPartialEq for InverseAttributeInfo
Auto Trait Implementations§
impl Freeze for InverseAttributeInfo
impl RefUnwindSafe for InverseAttributeInfo
impl Send for InverseAttributeInfo
impl Sync for InverseAttributeInfo
impl Unpin for InverseAttributeInfo
impl UnsafeUnpin for InverseAttributeInfo
impl UnwindSafe for InverseAttributeInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.