pub struct GeometryRefusal {
pub code: String,
pub entity: Option<u64>,
pub message: String,
}Expand description
Why one product has no placement, representation, graph or mesh.
Fields§
§code: Stringunsupported (valid IFC this build does not interpret, or a mesh
the backend refused), invalid-model (geometry the file states
wrongly), missing-reference (a reference to an entity the file
lacks) or budget-exceeded (a cycle, or a chain or aggregate over
its limit).
entity: Option<u64>The entity at fault, when the refusal names one.
message: StringA one-line explanation.
Trait Implementations§
Source§impl Clone for GeometryRefusal
impl Clone for GeometryRefusal
Source§fn clone(&self) -> GeometryRefusal
fn clone(&self) -> GeometryRefusal
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 GeometryRefusal
impl Debug for GeometryRefusal
impl Eq for GeometryRefusal
Source§impl PartialEq for GeometryRefusal
impl PartialEq for GeometryRefusal
impl StructuralPartialEq for GeometryRefusal
Auto Trait Implementations§
impl Freeze for GeometryRefusal
impl RefUnwindSafe for GeometryRefusal
impl Send for GeometryRefusal
impl Sync for GeometryRefusal
impl Unpin for GeometryRefusal
impl UnsafeUnpin for GeometryRefusal
impl UnwindSafe for GeometryRefusal
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.