pub struct TypeAssignmentInput {
pub name: Option<JsString>,
pub type_name: Option<JsString>,
}Expand description
An assigned type, projected to its semantic identity.
The type’s GlobalId is deliberately not represented: it is not hashed,
and carrying it here would invite a future change to hash it. See the
module docs.
Fields§
§name: Option<JsString>Name of the assigned type, e.g. WT-200.
type_name: Option<JsString>IFC class of the assigned type, e.g. IfcWallType.
Trait Implementations§
Source§impl Clone for TypeAssignmentInput
impl Clone for TypeAssignmentInput
Source§fn clone(&self) -> TypeAssignmentInput
fn clone(&self) -> TypeAssignmentInput
Returns a duplicate of the value. Read more
1.0.0 · 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 TypeAssignmentInput
impl Debug for TypeAssignmentInput
Source§impl Default for TypeAssignmentInput
impl Default for TypeAssignmentInput
Source§fn default() -> TypeAssignmentInput
fn default() -> TypeAssignmentInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TypeAssignmentInputwhere
TypeAssignmentInput: Default,
impl<'de> Deserialize<'de> for TypeAssignmentInputwhere
TypeAssignmentInput: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TypeAssignmentInput
impl PartialEq for TypeAssignmentInput
impl StructuralPartialEq for TypeAssignmentInput
Auto Trait Implementations§
impl Freeze for TypeAssignmentInput
impl RefUnwindSafe for TypeAssignmentInput
impl Send for TypeAssignmentInput
impl Sync for TypeAssignmentInput
impl Unpin for TypeAssignmentInput
impl UnwindSafe for TypeAssignmentInput
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