#[non_exhaustive]pub struct ClassifiedSystemDraft<'a> {
pub description: Option<&'a str>,
pub object_type: Option<&'a str>,
pub predefined_type: Option<&'a str>,
pub long_name: Option<&'a str>,
}Expand description
Attributes of a classified system beyond GlobalId and Name.
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.description: Option<&'a str>Description.
object_type: Option<&'a str>ObjectType. Required when predefined_type is USERDEFINED.
predefined_type: Option<&'a str>PredefinedType, a token of this entity’s own enum.
long_name: Option<&'a str>LongName: the full name where Name is an abbreviation.
Implementations§
Source§impl<'a> ClassifiedSystemDraft<'a>
impl<'a> ClassifiedSystemDraft<'a>
Sourcepub const fn description(self, value: &'a str) -> Self
pub const fn description(self, value: &'a str) -> Self
Sets Description.
Sourcepub const fn object_type(self, value: &'a str) -> Self
pub const fn object_type(self, value: &'a str) -> Self
Sets ObjectType, required when predefined_type is USERDEFINED.
Sourcepub const fn predefined_type(self, value: &'a str) -> Self
pub const fn predefined_type(self, value: &'a str) -> Self
Sets PredefinedType, a token of the entity’s own enum.
Trait Implementations§
Source§impl<'a> Clone for ClassifiedSystemDraft<'a>
impl<'a> Clone for ClassifiedSystemDraft<'a>
Source§fn clone(&self) -> ClassifiedSystemDraft<'a>
fn clone(&self) -> ClassifiedSystemDraft<'a>
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 moreimpl<'a> Copy for ClassifiedSystemDraft<'a>
Source§impl<'a> Debug for ClassifiedSystemDraft<'a>
impl<'a> Debug for ClassifiedSystemDraft<'a>
Source§impl<'a> Default for ClassifiedSystemDraft<'a>
impl<'a> Default for ClassifiedSystemDraft<'a>
Source§fn default() -> ClassifiedSystemDraft<'a>
fn default() -> ClassifiedSystemDraft<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ClassifiedSystemDraft<'a>
impl<'a> RefUnwindSafe for ClassifiedSystemDraft<'a>
impl<'a> Send for ClassifiedSystemDraft<'a>
impl<'a> Sync for ClassifiedSystemDraft<'a>
impl<'a> Unpin for ClassifiedSystemDraft<'a>
impl<'a> UnsafeUnpin for ClassifiedSystemDraft<'a>
impl<'a> UnwindSafe for ClassifiedSystemDraft<'a>
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