#[non_exhaustive]pub struct NotInSchema {
pub entity: EntityId,
pub schema: SchemaVersion,
}Expand description
An accessor that reads an attribute the declared release does not define for the entity’s type.
IFC2X3’s IfcZone has no LongName slot; asking for one under that
release is a different fact than the file having authored an empty
value, and conflating the two (None) would make “not in this schema”
indistinguishable from “authored empty” (issue #52).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entity: EntityIdThe entity whose type lacks the attribute.
schema: SchemaVersionThe schema release that was checked.
Trait Implementations§
Source§impl Clone for NotInSchema
impl Clone for NotInSchema
impl Copy for NotInSchema
Source§impl Debug for NotInSchema
impl Debug for NotInSchema
Source§impl Display for NotInSchema
impl Display for NotInSchema
impl Eq for NotInSchema
Source§impl Error for NotInSchema
impl Error for NotInSchema
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<NotInSchema> for SchemaGap
impl From<NotInSchema> for SchemaGap
Source§fn from(error: NotInSchema) -> Self
fn from(error: NotInSchema) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NotInSchema
impl PartialEq for NotInSchema
impl StructuralPartialEq for NotInSchema
Auto Trait Implementations§
impl Freeze for NotInSchema
impl RefUnwindSafe for NotInSchema
impl Send for NotInSchema
impl Sync for NotInSchema
impl Unpin for NotInSchema
impl UnsafeUnpin for NotInSchema
impl UnwindSafe for NotInSchema
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