pub struct StructuralPhaseRecord {
pub phase_id: RecordId,
pub name: String,
pub definition: StructuralPhaseDefinition,
pub required_providers: Vec<ProviderRequirement>,
}Expand description
One validated structural phase and its optional extension requirements.
Fields§
§phase_id: RecordIdStable phase identifier.
name: StringHuman-readable phase label.
definition: StructuralPhaseDefinitionNative crystallographic/scattering definition.
required_providers: Vec<ProviderRequirement>External providers required in addition to built-in native models.
Trait Implementations§
Source§impl Clone for StructuralPhaseRecord
impl Clone for StructuralPhaseRecord
Source§fn clone(&self) -> StructuralPhaseRecord
fn clone(&self) -> StructuralPhaseRecord
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 StructuralPhaseRecord
impl Debug for StructuralPhaseRecord
Source§impl PartialEq for StructuralPhaseRecord
impl PartialEq for StructuralPhaseRecord
impl StructuralPartialEq for StructuralPhaseRecord
Auto Trait Implementations§
impl Freeze for StructuralPhaseRecord
impl RefUnwindSafe for StructuralPhaseRecord
impl Send for StructuralPhaseRecord
impl Sync for StructuralPhaseRecord
impl Unpin for StructuralPhaseRecord
impl UnsafeUnpin for StructuralPhaseRecord
impl UnwindSafe for StructuralPhaseRecord
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more