#[non_exhaustive]pub struct SystemTemplateDescription {
pub summary: Option<SystemTemplateSummary>,
pub definition: Option<DefinitionDocument>,
pub validated_namespace_version: Option<i64>,
}
Expand description
An object that contains a system's definition document and summary information.
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.summary: Option<SystemTemplateSummary>
An object that contains summary information about a system.
definition: Option<DefinitionDocument>
The definition document of a system.
validated_namespace_version: Option<i64>
The namespace version against which the system was validated. Use this value in your system instance.
Implementations§
source§impl SystemTemplateDescription
impl SystemTemplateDescription
sourcepub fn summary(&self) -> Option<&SystemTemplateSummary>
pub fn summary(&self) -> Option<&SystemTemplateSummary>
An object that contains summary information about a system.
sourcepub fn definition(&self) -> Option<&DefinitionDocument>
pub fn definition(&self) -> Option<&DefinitionDocument>
The definition document of a system.
sourcepub fn validated_namespace_version(&self) -> Option<i64>
pub fn validated_namespace_version(&self) -> Option<i64>
The namespace version against which the system was validated. Use this value in your system instance.
source§impl SystemTemplateDescription
impl SystemTemplateDescription
sourcepub fn builder() -> SystemTemplateDescriptionBuilder
pub fn builder() -> SystemTemplateDescriptionBuilder
Creates a new builder-style object to manufacture SystemTemplateDescription
.
Trait Implementations§
source§impl Clone for SystemTemplateDescription
impl Clone for SystemTemplateDescription
source§fn clone(&self) -> SystemTemplateDescription
fn clone(&self) -> SystemTemplateDescription
Returns a copy 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 SystemTemplateDescription
impl Debug for SystemTemplateDescription
source§impl PartialEq for SystemTemplateDescription
impl PartialEq for SystemTemplateDescription
source§fn eq(&self, other: &SystemTemplateDescription) -> bool
fn eq(&self, other: &SystemTemplateDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SystemTemplateDescription
Auto Trait Implementations§
impl RefUnwindSafe for SystemTemplateDescription
impl Send for SystemTemplateDescription
impl Sync for SystemTemplateDescription
impl Unpin for SystemTemplateDescription
impl UnwindSafe for SystemTemplateDescription
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.