pub struct PropertyTemplate {
pub name: String,
pub guid: Option<String>,
pub definition: Option<String>,
pub name_aliases: Vec<LocalizedText>,
pub definition_aliases: Vec<LocalizedText>,
pub kind: PropertyKind,
}Expand description
External property template.
Fields§
§name: StringName as declared by the publication.
guid: Option<String>Publication GlobalId, absent when the source did not assign one.
definition: Option<String>Definition prose, absent when the publication omitted it.
name_aliases: Vec<LocalizedText>Localized alternates for name in other publication languages.
definition_aliases: Vec<LocalizedText>Localized alternates for definition in other publication languages.
kind: PropertyKindValue form, corresponding to an IfcSimplePropertyTemplateTypeEnum case.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for PropertyTemplate
impl<'__de, __Context> BorrowDecode<'__de, __Context> for PropertyTemplate
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for PropertyTemplate
impl Clone for PropertyTemplate
Source§fn clone(&self) -> PropertyTemplate
fn clone(&self) -> PropertyTemplate
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 PropertyTemplate
impl Debug for PropertyTemplate
Source§impl<__Context> Decode<__Context> for PropertyTemplate
impl<__Context> Decode<__Context> for PropertyTemplate
Source§impl Encode for PropertyTemplate
impl Encode for PropertyTemplate
impl Eq for PropertyTemplate
Source§impl PartialEq for PropertyTemplate
impl PartialEq for PropertyTemplate
impl StructuralPartialEq for PropertyTemplate
Auto Trait Implementations§
impl Freeze for PropertyTemplate
impl RefUnwindSafe for PropertyTemplate
impl Send for PropertyTemplate
impl Sync for PropertyTemplate
impl Unpin for PropertyTemplate
impl UnsafeUnpin for PropertyTemplate
impl UnwindSafe for PropertyTemplate
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