pub struct FieldDeclaration {
pub id: String,
pub quantity: FieldQuantity,
pub unit: FieldUnit,
pub support: FieldSupport,
pub representation: FieldRepresentation,
pub profile: AnalyticFieldProfile,
}Expand description
Ambient Field Declaration.
Fields§
§id: StringUnique Field IRI (e.g. did:q42:field:ambient_pressure).
quantity: FieldQuantityPhysical quantity kind.
unit: FieldUnitStandardized unit.
support: FieldSupportSpatial distribution support.
representation: FieldRepresentationUnderlying representation.
profile: AnalyticFieldProfileAnalytical profile when representation is Analytic.
Implementations§
Source§impl FieldDeclaration
impl FieldDeclaration
Sourcepub fn standard_atmosphere() -> Self
pub fn standard_atmosphere() -> Self
Create standard atmospheric sea-level pressure field (101.325 kPa at z=0, scale height 8500m).
Sourcepub fn ambient_room_temperature() -> Self
pub fn ambient_room_temperature() -> Self
Create room-temperature thermal field (293.15 K uniform).
Sourcepub fn water_solvent(concentration: f64) -> Self
pub fn water_solvent(concentration: f64) -> Self
Create a water solvent presence field (H2O concentration mol/m³).
Trait Implementations§
Source§impl Clone for FieldDeclaration
impl Clone for FieldDeclaration
Source§impl Debug for FieldDeclaration
impl Debug for FieldDeclaration
Source§impl PartialEq for FieldDeclaration
impl PartialEq for FieldDeclaration
impl StructuralPartialEq for FieldDeclaration
Auto Trait Implementations§
impl Freeze for FieldDeclaration
impl RefUnwindSafe for FieldDeclaration
impl Send for FieldDeclaration
impl Sync for FieldDeclaration
impl Unpin for FieldDeclaration
impl UnsafeUnpin for FieldDeclaration
impl UnwindSafe for FieldDeclaration
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