pub struct StructuralCalculationRequest {
pub x_deg: Vec<f64>,
pub instrument: ConstantWavelengthInstrument,
pub axial_geometry: Option<FcjGeometry>,
pub position_correction: MonochromaticPositionCorrection,
pub phase_inputs: Vec<StructuralModelInput>,
pub support: SupportPolicy,
}Expand description
Owned application-boundary request for one multiphase structural calculation.
Fields§
§x_deg: Vec<f64>Sorted pattern grid in degrees 2theta.
instrument: ConstantWavelengthInstrumentReference constant-wavelength instrument.
axial_geometry: Option<FcjGeometry>Optional axial-divergence geometry.
position_correction: MonochromaticPositionCorrectionExplicit position correction.
phase_inputs: Vec<StructuralModelInput>Dynamic inputs in prepared-model order.
support: SupportPolicyExact finite profile-support policy.
Trait Implementations§
Source§impl Clone for StructuralCalculationRequest
impl Clone for StructuralCalculationRequest
Source§fn clone(&self) -> StructuralCalculationRequest
fn clone(&self) -> StructuralCalculationRequest
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 StructuralCalculationRequest
impl Debug for StructuralCalculationRequest
impl StructuralPartialEq for StructuralCalculationRequest
Auto Trait Implementations§
impl Freeze for StructuralCalculationRequest
impl RefUnwindSafe for StructuralCalculationRequest
impl Send for StructuralCalculationRequest
impl Sync for StructuralCalculationRequest
impl Unpin for StructuralCalculationRequest
impl UnsafeUnpin for StructuralCalculationRequest
impl UnwindSafe for StructuralCalculationRequest
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